home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: MacOS Executable
(executable/macOSExecutable).
You can browse this item here: HTML.edit v1.1.1b
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| MacOS Executable (executable/macOSExecutable)
| magic
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, busy, bundle, Fri Jun 17 13:52:32 1994, modified Fri Jun 17 14:10:51 1994, creator 'HTMe', type application, 144064 bytes "HTML.edit v1.1.1b" , at 0x23340 1003087 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh Application (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [APPL] |
macFileCreator | [HTMe] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 48 54 4d 4c 2e 65 | 64 69 74 20 76 31 2e 31 |..HTML.e|dit v1.1|
|00000010| 2e 31 62 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.1b.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 41 50 50 4c 48 54 4d | 65 25 00 00 00 00 00 00 |.APPLHTM|e%......|
|00000050| 00 00 00 00 02 32 c0 00 | 0f 4e 4f aa 27 93 60 aa |.....2..|.NO.'.`.|
|00000060| 27 97 ab 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |'.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cf 51 00 00 |........|.....Q..|
|00000080| 00 00 64 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..d.STAK|........|
|00000090| 00 00 00 0a 00 02 32 c0 | 00 00 64 00 00 00 00 00 |......2.|..d.....|
|000000a0| 00 00 00 00 00 00 00 02 | 00 00 15 a3 00 00 00 05 |........|........|
|000000b0| 00 00 08 f4 00 00 09 4e | 00 00 00 00 00 00 00 00 |.......N|........|
|000000c0| 00 00 16 78 00 00 00 00 | 00 05 00 00 10 00 00 00 |...x....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 20 80 00 02 20 80 00 | 01 11 60 19 01 11 60 19 |. ... ..|..`...`.|
|000000f0| dd 2e 42 2e 00 00 00 00 | 00 3d 00 20 01 93 02 20 |..B.....|.=. ... |
|00000100| 00 00 00 00 03 66 04 80 | 00 00 00 00 00 00 00 00 |.....f..|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 12 00 00 0c 10 | 02 80 02 80 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 48 54 4d 4c 2e | 65 64 69 74 20 76 31 2e |-- HTML.|edit v1.|
|00000690| 31 2e 31 20 a9 31 39 39 | 34 20 62 79 20 4d 75 72 |1.1 .199|4 by Mur|
|000006a0| 72 61 79 20 4d 2e 20 41 | 6c 74 68 65 69 6d 0d 0d |ray M. A|ltheim..|
|000006b0| 6f 6e 20 61 70 70 6c 65 | 45 76 65 6e 74 20 74 68 |on apple|Event th|
|000006c0| 65 43 6c 61 73 73 2c 74 | 68 65 49 44 2c 74 68 65 |eClass,t|heID,the|
|000006d0| 53 65 6e 64 65 72 0d 67 | 6c 6f 62 61 6c 20 65 72 |Sender.g|lobal er|
|000006e0| 72 47 6c 6f 62 61 6c 0d | 62 69 6e 6b 20 66 34 73 |rGlobal.|bink f4s|
|000006f0| 0d 62 69 6e 6b 20 61 0d | 73 65 74 20 6c 6f 63 6b |.bink a.|set lock|
|00000700| 45 72 72 6f 72 44 69 61 | 6c 6f 67 73 20 74 6f 20 |ErrorDia|logs to |
|00000710| 54 52 55 45 0d 67 65 74 | 20 74 68 65 20 69 74 65 |TRUE.get| the ite|
|00000720| 6d 44 65 6c 69 6d 69 74 | 65 72 0d 73 65 74 20 74 |mDelimit|er.set t|
|00000730| 68 65 20 69 74 65 6d 44 | 65 6c 69 6d 69 74 65 72 |he itemD|elimiter|
|00000740| 20 74 6f 20 63 6f 6c 6f | 6e 0d 70 75 74 20 6c 61 | to colo|n.put la|
|00000750| 73 74 20 69 74 65 6d 20 | 6f 66 20 74 68 65 53 65 |st item |of theSe|
|00000760| 6e 64 65 72 20 69 6e 74 | 6f 20 73 65 6e 64 69 6e |nder int|o sendin|
|00000770| 67 50 72 6f 67 72 61 6d | 0d 73 65 74 20 74 68 65 |gProgram|.set the|
|00000780| 20 69 74 65 6d 44 65 6c | 69 6d 69 74 65 72 20 74 | itemDel|imiter t|
|00000790| 6f 20 69 74 0d 69 66 20 | 74 68 65 43 6c 61 73 73 |o it.if |theClass|
|000007a0| 20 69 73 20 22 61 65 76 | 74 22 20 61 6e 64 20 74 | is "aev|t" and t|
|000007b0| 68 65 49 44 20 69 73 20 | 22 6f 64 6f 63 22 20 61 |heID is |"odoc" a|
|000007c0| 6e 64 20 73 65 6e 64 69 | 6e 67 50 72 6f 67 72 61 |nd sendi|ngProgra|
|000007d0| 6d 20 69 73 20 22 46 69 | 6e 64 65 72 22 20 74 68 |m is "Fi|nder" th|
|000007e0| 65 6e 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |en.set c|ursor to|
|000007f0| 20 77 61 74 63 68 0d 72 | 65 71 75 65 73 74 20 61 | watch.r|equest a|
|00000800| 70 70 6c 65 45 76 65 6e | 74 20 64 61 74 61 0d 69 |ppleEven|t data.i|
|00000810| 66 20 69 74 20 3d 20 22 | 22 20 74 68 65 6e 20 65 |f it = "|" then e|
|00000820| 78 69 74 20 61 70 70 6c | 65 45 76 65 6e 74 0d 70 |xit appl|eEvent.p|
|00000830| 75 74 20 69 74 20 69 6e | 74 6f 20 66 4e 61 6d 65 |ut it in|to fName|
|00000840| 4c 69 73 74 0d 67 6f 20 | 6c 61 73 74 20 63 64 20 |List.go |last cd |
|00000850| 6f 66 20 62 67 20 22 45 | 64 69 74 6f 72 22 0d 72 |of bg "E|ditor".r|
|00000860| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00000870| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00000880| 66 20 6c 69 6e 65 73 20 | 6f 66 20 66 4e 61 6d 65 |f lines |of fName|
|00000890| 4c 69 73 74 0d 70 75 74 | 20 46 69 6c 65 54 79 70 |List.put| FileTyp|
|000008a0| 65 28 6c 69 6e 65 20 69 | 20 6f 66 20 66 4e 61 6d |e(line i| of fNam|
|000008b0| 65 4c 69 73 74 2c 20 22 | 6e 6f 64 69 61 6c 6f 67 |eList, "|nodialog|
|000008c0| 3a 65 72 72 47 6c 6f 62 | 61 6c 22 29 20 69 6e 74 |:errGlob|al") int|
|000008d0| 6f 20 66 54 79 70 65 0d | 69 66 20 65 72 72 47 6c |o fType.|if errGl|
|000008e0| 6f 62 61 6c 20 ad 20 22 | 22 20 74 68 65 6e 0d 61 |obal . "|" then.a|
|000008f0| 6e 73 77 65 72 20 22 41 | 70 70 6c 65 45 76 65 6e |nswer "A|ppleEven|
|00000900| 74 20 45 72 72 6f 72 3a | 20 d2 22 20 26 20 65 72 |t Error:| ." & er|
|00000910| 72 47 6c 6f 62 61 6c 20 | 26 20 22 d3 22 0d 70 75 |rGlobal |& ".".pu|
|00000920| 74 20 22 22 20 69 6e 74 | 6f 20 65 72 72 47 6c 6f |t "" int|o errGlo|
|00000930| 62 61 6c 0d 65 78 69 74 | 20 61 70 70 6c 65 45 76 |bal.exit| appleEv|
|00000940| 65 6e 74 0d 65 6c 73 65 | 20 69 66 20 66 54 79 70 |ent.else| if fTyp|
|00000950| 65 20 3d 20 22 54 45 58 | 54 22 20 74 68 65 6e 0d |e = "TEX|T" then.|
|00000960| 73 65 6e 64 20 22 69 6d | 70 6f 72 74 48 54 4d 4c |send "im|portHTML|
|00000970| 22 26 26 71 75 6f 74 65 | 26 28 6c 69 6e 65 20 69 |"&"e|&(line i|
|00000980| 20 6f 66 20 66 4e 61 6d | 65 4c 69 73 74 29 26 71 | of fNam|eList)&q|
|00000990| 75 6f 74 65 20 74 6f 20 | 74 68 69 73 20 63 64 0d |uote to |this cd.|
|000009a0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|000009b0| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 61 70 70 |t.end if|.end app|
|000009c0| 6c 65 45 76 65 6e 74 0d | 0d 6f 6e 20 73 74 61 72 |leEvent.|.on star|
|000009d0| 74 75 70 0d 68 69 64 65 | 20 73 63 72 6f 6c 6c 20 |tup.hide| scroll |
|000009e0| 77 69 6e 64 6f 77 0d 73 | 68 6f 77 41 62 6f 75 74 |window.s|howAbout|
|000009f0| 20 33 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f | 3.set c|ursor to|
|00000a00| 20 66 69 6e 67 65 72 73 | 30 0d 70 61 73 73 20 73 | fingers|0.pass s|
|00000a10| 74 61 72 74 75 70 0d 65 | 6e 64 20 73 74 61 72 74 |tartup.e|nd start|
|00000a20| 75 70 0d 0d 6f 6e 20 6f | 70 65 6e 53 74 61 63 6b |up..on o|penStack|
|00000a30| 0d 68 69 64 65 20 73 63 | 72 6f 6c 6c 20 77 69 6e |.hide sc|roll win|
|00000a40| 64 6f 77 0d 73 65 6e 64 | 20 69 6e 69 74 69 61 6c |dow.send| initial|
|00000a50| 69 7a 65 20 74 6f 20 63 | 64 20 69 64 20 32 32 39 |ize to c|d id 229|
|00000a60| 32 0d 73 65 6e 64 20 73 | 65 74 4d 65 6e 75 73 20 |2.send s|etMenus |
|00000a70| 74 6f 20 63 64 20 69 64 | 20 32 32 39 32 0d 73 65 |to cd id| 2292.se|
|00000a80| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 66 69 6e 67 |t cursor| to fing|
|00000a90| 65 72 73 33 0d 70 61 73 | 73 20 6f 70 65 6e 53 74 |ers3.pas|s openSt|
|00000aa0| 61 63 6b 0d 65 6e 64 20 | 6f 70 65 6e 53 74 61 63 |ack.end |openStac|
|00000ab0| 6b 0d 0d 6f 6e 20 63 6c | 6f 73 65 53 74 61 63 6b |k..on cl|oseStack|
|00000ac0| 0d 69 66 20 74 68 65 20 | 68 69 6c 69 74 65 20 6f |.if the |hilite o|
|00000ad0| 66 20 63 64 20 62 74 6e | 20 69 64 20 39 20 6f 66 |f cd btn| id 9 of|
|00000ae0| 20 63 64 20 22 70 72 65 | 66 73 22 20 74 68 65 6e | cd "pre|fs" then|
|00000af0| 20 63 6f 6d 70 61 63 74 | 53 74 61 63 6b 0d 69 66 | compact|Stack.if|
|00000b00| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00000b10| 6f 77 20 22 48 54 4d 4c | 2e 65 64 69 74 20 48 65 |ow "HTML|.edit He|
|00000b20| 6c 70 22 20 74 68 65 6e | 20 63 6c 6f 73 65 20 77 |lp" then| close w|
|00000b30| 69 6e 64 6f 77 20 22 48 | 54 4d 4c 2e 65 64 69 74 |indow "H|TML.edit|
|00000b40| 20 48 65 6c 70 22 0d 69 | 66 20 74 68 65 72 65 20 | Help".i|f there |
|00000b50| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 48 54 4d |is a win|dow "HTM|
|00000b60| 4c 54 6f 6f 6c 73 22 20 | 74 68 65 6e 20 63 6c 6f |LTools" |then clo|
|00000b70| 73 65 20 77 69 6e 64 6f | 77 20 22 48 54 4d 4c 54 |se windo|w "HTMLT|
|00000b80| 6f 6f 6c 73 22 0d 69 66 | 20 74 68 65 72 65 20 69 |ools".if| there i|
|00000b90| 73 20 61 20 77 69 6e 64 | 6f 77 20 22 48 54 4d 4c |s a wind|ow "HTML|
|00000ba0| 54 6f 6f 6c 73 43 6f 6c | 6f 72 22 20 74 68 65 6e |ToolsCol|or" then|
|00000bb0| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 22 48 | close w|indow "H|
|00000bc0| 54 4d 4c 54 6f 6f 6c 73 | 43 6f 6c 6f 72 22 0d 69 |TMLTools|Color".i|
|00000bd0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00000be0| 64 6f 77 20 22 45 6e 74 | 69 74 69 65 73 22 20 74 |dow "Ent|ities" t|
|00000bf0| 68 65 6e 20 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |hen clos|e window|
|00000c00| 20 22 45 6e 74 69 74 69 | 65 73 22 0d 72 65 73 65 | "Entiti|es".rese|
|00000c10| 74 20 6d 65 6e 75 62 61 | 72 0d 70 61 73 73 20 63 |t menuba|r.pass c|
|00000c20| 6c 6f 73 65 53 74 61 63 | 6b 0d 65 6e 64 20 63 6c |loseStac|k.end cl|
|00000c30| 6f 73 65 53 74 61 63 6b | 0d 0d 2d 2d 20 a5 20 68 |oseStack|..-- . h|
|00000c40| 61 6e 64 6c 65 20 70 61 | 6c 65 74 74 65 73 0d 0d |andle pa|lettes..|
|00000c50| 6f 6e 20 73 75 73 70 65 | 6e 64 53 74 61 63 6b 0d |on suspe|ndStack.|
|00000c60| 68 69 64 65 50 61 6c 65 | 74 74 65 73 0d 72 65 73 |hidePale|ttes.res|
|00000c70| 65 74 20 6d 65 6e 75 62 | 61 72 0d 70 61 73 73 20 |et menub|ar.pass |
|00000c80| 73 75 73 70 65 6e 64 53 | 74 61 63 6b 0d 65 6e 64 |suspendS|tack.end|
|00000c90| 20 73 75 73 70 65 6e 64 | 53 74 61 63 6b 0d 0d 6f | suspend|Stack..o|
|00000ca0| 6e 20 72 65 73 75 6d 65 | 53 74 61 63 6b 0d 73 65 |n resume|Stack.se|
|00000cb0| 65 6b 50 61 6c 65 74 74 | 65 73 0d 73 65 6e 64 20 |ekPalett|es.send |
|00000cc0| 73 65 74 4d 65 6e 75 73 | 20 74 6f 20 63 64 20 69 |setMenus| to cd i|
|00000cd0| 64 20 32 32 39 32 0d 70 | 61 73 73 20 72 65 73 75 |d 2292.p|ass resu|
|00000ce0| 6d 65 53 74 61 63 6b 0d | 65 6e 64 20 72 65 73 75 |meStack.|end resu|
|00000cf0| 6d 65 53 74 61 63 6b 0d | 0d 6f 6e 20 63 6c 6f 73 |meStack.|.on clos|
|00000d00| 65 50 61 6c 65 74 74 65 | 0d 69 66 20 74 68 65 72 |ePalette|.if ther|
|00000d10| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 22 48 |e is a w|indow "H|
|00000d20| 54 4d 4c 54 6f 6f 6c 73 | 43 6f 6c 6f 72 22 0d 74 |TMLTools|Color".t|
|00000d30| 68 65 6e 20 70 75 74 20 | 74 68 65 20 6c 6f 63 20 |hen put |the loc |
|00000d40| 6f 66 20 77 69 6e 64 6f | 77 20 22 48 54 4d 4c 54 |of windo|w "HTMLT|
|00000d50| 6f 6f 6c 73 43 6f 6c 6f | 72 22 20 69 6e 74 6f 20 |oolsColo|r" into |
|00000d60| 63 64 20 66 6c 64 20 22 | 74 6f 6f 6c 73 4c 6f 63 |cd fld "|toolsLoc|
|00000d70| 22 20 6f 66 20 63 64 20 | 22 70 72 65 66 73 22 0d |" of cd |"prefs".|
|00000d80| 65 6c 73 65 20 69 66 20 | 74 68 65 72 65 20 69 73 |else if |there is|
|00000d90| 20 61 20 77 69 6e 64 6f | 77 20 22 48 54 4d 4c 54 | a windo|w "HTMLT|
|00000da0| 6f 6f 6c 73 22 0d 74 68 | 65 6e 20 70 75 74 20 74 |ools".th|en put t|
|00000db0| 68 65 20 6c 6f 63 20 6f | 66 20 77 69 6e 64 6f 77 |he loc o|f window|
|00000dc0| 20 22 48 54 4d 4c 54 6f | 6f 6c 73 22 20 69 6e 74 | "HTMLTo|ols" int|
|00000dd0| 6f 20 63 64 20 66 6c 64 | 20 22 74 6f 6f 6c 73 4c |o cd fld| "toolsL|
|00000de0| 6f 63 22 20 6f 66 20 63 | 64 20 22 70 72 65 66 73 |oc" of c|d "prefs|
|00000df0| 22 0d 65 6e 64 20 63 6c | 6f 73 65 50 61 6c 65 74 |".end cl|osePalet|
|00000e00| 74 65 0d 0d 6f 6e 20 73 | 68 6f 77 54 6f 6f 6c 73 |te..on s|howTools|
|00000e10| 0d 69 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |.if the |short na|
|00000e20| 6d 65 20 6f 66 20 74 68 | 69 73 20 62 67 20 ad 20 |me of th|is bg . |
|00000e30| 22 45 64 69 74 6f 72 22 | 20 74 68 65 6e 20 65 78 |"Editor"| then ex|
|00000e40| 69 74 20 73 68 6f 77 54 | 6f 6f 6c 73 0d 67 65 74 |it showT|ools.get|
|00000e50| 20 63 64 20 66 6c 64 20 | 22 74 6f 6f 6c 73 4c 6f | cd fld |"toolsLo|
|00000e60| 63 22 20 6f 66 20 63 64 | 20 22 70 72 65 66 73 22 |c" of cd| "prefs"|
|00000e70| 0d 69 66 20 69 74 20 ad | 20 22 22 20 74 68 65 6e |.if it .| "" then|
|00000e80| 20 67 65 74 20 69 74 0d | 65 6c 73 65 20 67 65 74 | get it.|else get|
|00000e90| 20 69 74 65 6d 20 31 20 | 6f 66 20 74 68 65 20 6c | item 1 |of the l|
|00000ea0| 6f 63 20 6f 66 20 62 67 | 20 62 74 6e 20 22 5a 6f |oc of bg| btn "Zo|
|00000eb0| 6f 6d 42 6f 78 22 20 2d | 20 32 31 33 26 22 2c 35 |omBox" -| 213&",5|
|00000ec0| 33 22 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |3".if th|ere is a|
|00000ed0| 20 77 69 6e 64 6f 77 20 | 22 48 54 4d 4c 54 6f 6f | window |"HTMLToo|
|00000ee0| 6c 73 22 20 74 68 65 6e | 20 73 68 6f 77 20 77 69 |ls" then| show wi|
|00000ef0| 6e 64 6f 77 20 22 48 54 | 4d 4c 54 6f 6f 6c 73 22 |ndow "HT|MLTools"|
|00000f00| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 72 65 20 69 |.else if| there i|
|00000f10| 73 20 61 20 77 69 6e 64 | 6f 77 20 22 48 54 4d 4c |s a wind|ow "HTML|
|00000f20| 54 6f 6f 6c 73 43 6f 6c | 6f 72 22 20 74 68 65 6e |ToolsCol|or" then|
|00000f30| 20 73 68 6f 77 20 77 69 | 6e 64 6f 77 20 22 48 54 | show wi|ndow "HT|
|00000f40| 4d 4c 54 6f 6f 6c 73 43 | 6f 6c 6f 72 22 0d 65 6c |MLToolsC|olor".el|
|00000f50| 73 65 20 69 66 20 28 69 | 74 65 6d 20 32 20 6f 66 |se if (i|tem 2 of|
|00000f60| 20 6c 69 6e 65 20 31 20 | 6f 66 20 67 65 74 4d 6f | line 1 |of getMo|
|00000f70| 64 65 28 29 20 3d 20 38 | 29 20 74 68 65 6e 20 70 |de() = 8|) then p|
|00000f80| 61 6c 65 74 74 65 20 22 | 48 54 4d 4c 54 6f 6f 6c |alette "|HTMLTool|
|00000f90| 73 43 6f 6c 6f 72 22 2c | 69 74 0d 65 6c 73 65 20 |sColor",|it.else |
|00000fa0| 70 61 6c 65 74 74 65 20 | 22 48 54 4d 4c 54 6f 6f |palette |"HTMLToo|
|00000fb0| 6c 73 22 2c 69 74 0d 65 | 6e 64 20 73 68 6f 77 54 |ls",it.e|nd showT|
|00000fc0| 6f 6f 6c 73 0d 0d 6f 6e | 20 68 69 64 65 50 61 6c |ools..on| hidePal|
|00000fd0| 65 74 74 65 73 0d 67 6c | 6f 62 61 6c 20 48 65 54 |ettes.gl|obal HeT|
|00000fe0| 5f 76 69 7a 2c 48 65 43 | 5f 76 69 7a 0d 70 75 74 |_viz,HeC|_viz.put|
|00000ff0| 20 76 69 7a 28 22 48 54 | 4d 4c 54 6f 6f 6c 73 22 | viz("HT|MLTools"|
|00001000| 29 20 69 6e 74 6f 20 48 | 65 54 5f 76 69 7a 0d 69 |) into H|eT_viz.i|
|00001010| 66 20 48 65 54 5f 76 69 | 7a 20 74 68 65 6e 20 68 |f HeT_vi|z then h|
|00001020| 69 64 65 20 77 69 6e 64 | 6f 77 20 22 48 54 4d 4c |ide wind|ow "HTML|
|00001030| 54 6f 6f 6c 73 22 0d 70 | 75 74 20 76 69 7a 28 22 |Tools".p|ut viz("|
|00001040| 48 54 4d 4c 54 6f 6f 6c | 73 43 6f 6c 6f 72 22 29 |HTMLTool|sColor")|
|00001050| 20 69 6e 74 6f 20 48 65 | 43 5f 76 69 7a 0d 69 66 | into He|C_viz.if|
|00001060| 20 48 65 43 5f 76 69 7a | 20 74 68 65 6e 20 68 69 | HeC_viz| then hi|
|00001070| 64 65 20 77 69 6e 64 6f | 77 20 22 48 54 4d 4c 54 |de windo|w "HTMLT|
|00001080| 6f 6f 6c 73 43 6f 6c 6f | 72 22 0d 65 6e 64 20 68 |oolsColo|r".end h|
|00001090| 69 64 65 50 61 6c 65 74 | 74 65 73 0d 0d 6f 6e 20 |idePalet|tes..on |
|000010a0| 73 65 65 6b 50 61 6c 65 | 74 74 65 73 0d 67 6c 6f |seekPale|ttes.glo|
|000010b0| 62 61 6c 20 48 65 54 5f | 76 69 7a 2c 48 65 43 5f |bal HeT_|viz,HeC_|
|000010c0| 76 69 7a 0d 69 66 20 48 | 65 43 5f 76 69 7a 20 3d |viz.if H|eC_viz =|
|000010d0| 20 54 52 55 45 20 74 68 | 65 6e 20 73 68 6f 77 54 | TRUE th|en showT|
|000010e0| 6f 6f 6c 73 20 63 6f 6c | 6f 72 0d 65 6c 73 65 20 |ools col|or.else |
|000010f0| 69 66 20 48 65 54 5f 76 | 69 7a 20 3d 20 54 52 55 |if HeT_v|iz = TRU|
|00001100| 45 20 74 68 65 6e 20 73 | 68 6f 77 54 6f 6f 6c 73 |E then s|howTools|
|00001110| 0d 65 6e 64 20 73 65 65 | 6b 50 61 6c 65 74 74 65 |.end see|kPalette|
|00001120| 73 0d 0d 6f 6e 20 63 6c | 6f 73 65 50 61 6c 65 74 |s..on cl|osePalet|
|00001130| 74 65 73 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |tes.if t|here is |
|00001140| 61 20 77 69 6e 64 6f 77 | 20 22 48 54 4d 4c 2e 65 |a window| "HTML.e|
|00001150| 64 69 74 20 48 65 6c 70 | 22 20 74 68 65 6e 20 63 |dit Help|" then c|
|00001160| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 22 48 54 4d |lose win|dow "HTM|
|00001170| 4c 2e 65 64 69 74 20 48 | 65 6c 70 22 0d 69 66 20 |L.edit H|elp".if |
|00001180| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|00001190| 77 20 22 48 54 4d 4c 54 | 6f 6f 6c 73 22 20 74 68 |w "HTMLT|ools" th|
|000011a0| 65 6e 20 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |en close| window |
|000011b0| 22 48 54 4d 4c 54 6f 6f | 6c 73 22 0d 69 66 20 74 |"HTMLToo|ls".if t|
|000011c0| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|000011d0| 20 22 48 54 4d 4c 54 6f | 6f 6c 73 43 6f 6c 6f 72 | "HTMLTo|olsColor|
|000011e0| 22 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |" then c|lose win|
|000011f0| 64 6f 77 20 22 48 54 4d | 4c 54 6f 6f 6c 73 43 6f |dow "HTM|LToolsCo|
|00001200| 6c 6f 72 22 0d 65 6e 64 | 20 63 6c 6f 73 65 50 61 |lor".end| closePa|
|00001210| 6c 65 74 74 65 73 0d 0d | 2d 2d 20 a5 20 73 74 61 |lettes..|-- . sta|
|00001220| 6e 64 61 72 64 0d 0d 6f | 6e 20 72 65 74 75 72 6e |ndard..o|n return|
|00001230| 49 6e 46 69 65 6c 64 0d | 67 6c 6f 62 61 6c 20 75 |InField.|global u|
|00001240| 73 65 48 54 4d 4c 52 65 | 74 75 72 6e 0d 69 66 20 |seHTMLRe|turn.if |
|00001250| 75 73 65 48 54 4d 4c 52 | 65 74 75 72 6e 20 3d 20 |useHTMLR|eturn = |
|00001260| 54 52 55 45 20 61 6e 64 | 20 6f 70 74 69 6f 6e 4b |TRUE and| optionK|
|00001270| 65 79 28 29 20 3d 20 64 | 6f 77 6e 20 74 68 65 6e |ey() = d|own then|
|00001280| 0d 69 66 20 6c 65 6e 67 | 74 68 28 73 65 6c 65 63 |.if leng|th(selec|
|00001290| 74 65 64 54 65 78 74 29 | 20 3e 20 30 20 74 68 65 |tedText)| > 0 the|
|000012a0| 6e 20 70 75 74 20 22 3c | 50 3e 22 26 72 65 74 75 |n put "<|P>"&retu|
|000012b0| 72 6e 20 61 66 74 65 72 | 20 74 68 65 20 73 65 6c |rn after| the sel|
|000012c0| 65 63 74 69 6f 6e 0d 65 | 6c 73 65 20 74 79 70 65 |ection.e|lse type|
|000012d0| 20 22 3c 50 3e 22 26 72 | 65 74 75 72 6e 0d 65 6c | "<P>"&r|eturn.el|
|000012e0| 73 65 20 70 61 73 73 20 | 72 65 74 75 72 6e 49 6e |se pass |returnIn|
|000012f0| 46 69 65 6c 64 0d 65 6e | 64 20 72 65 74 75 72 6e |Field.en|d return|
|00001300| 49 6e 46 69 65 6c 64 0d | 0d 6f 6e 20 63 6f 6d 6d |InField.|.on comm|
|00001310| 61 6e 64 4b 65 79 44 6f | 77 6e 20 6b 0d 49 46 20 |andKeyDo|wn k.IF |
|00001320| 6b 20 3d 20 22 2f 22 20 | 6f 72 20 6b 20 3d 20 22 |k = "/" |or k = "|
|00001330| 3f 22 20 74 68 65 6e 20 | 48 54 4d 4c 48 65 6c 70 |?" then |HTMLHelp|
|00001340| 0d 45 4c 53 45 20 49 46 | 20 6b 20 3d 20 22 30 22 |.ELSE IF| k = "0"|
|00001350| 20 74 68 65 6e 20 73 65 | 6e 64 20 22 73 65 6c 65 | then se|nd "sele|
|00001360| 63 74 46 72 6f 6d 49 6e | 64 65 78 22 20 74 6f 20 |ctFromIn|dex" to |
|00001370| 74 68 69 73 20 63 64 0d | 45 4c 53 45 20 69 66 20 |this cd.|ELSE if |
|00001380| 28 73 68 69 66 74 4b 65 | 79 28 29 20 ad 20 64 6f |(shiftKe|y() . do|
|00001390| 77 6e 29 20 74 68 65 6e | 0d 69 66 20 6b 20 3d 20 |wn) then|.if k = |
|000013a0| 22 48 22 20 74 68 65 6e | 20 65 78 69 74 20 63 6f |"H" then| exit co|
|000013b0| 6d 6d 61 6e 64 4b 65 79 | 44 6f 77 6e 0d 65 6c 73 |mmandKey|Down.els|
|000013c0| 65 20 69 66 20 6b 20 3d | 20 22 41 22 20 61 6e 64 |e if k =| "A" and|
|000013d0| 20 22 66 69 65 6c 64 22 | 20 69 73 20 69 6e 20 74 | "field"| is in t|
|000013e0| 68 65 20 73 65 6c 65 63 | 74 65 64 43 68 75 6e 6b |he selec|tedChunk|
|000013f0| 20 74 68 65 6e 20 73 65 | 6c 65 63 74 20 74 65 78 | then se|lect tex|
|00001400| 74 20 6f 66 20 74 68 65 | 20 73 65 6c 65 63 74 65 |t of the| selecte|
|00001410| 64 46 69 65 6c 64 0d 65 | 6c 73 65 20 69 66 20 6b |dField.e|lse if k|
|00001420| 20 3d 20 22 45 22 20 74 | 68 65 6e 20 73 65 74 20 | = "E" t|hen set |
|00001430| 74 68 65 20 76 69 73 69 | 62 6c 65 20 6f 66 20 73 |the visi|ble of s|
|00001440| 63 72 6f 6c 6c 20 77 69 | 6e 64 6f 77 20 74 6f 20 |croll wi|ndow to |
|00001450| 6e 6f 74 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |not the |visible |
|00001460| 6f 66 20 73 63 72 6f 6c | 6c 20 77 69 6e 64 6f 77 |of scrol|l window|
|00001470| 0d 65 6c 73 65 20 69 66 | 20 6b 20 3d 20 22 4d 22 |.else if| k = "M"|
|00001480| 20 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 76 69 | then se|t the vi|
|00001490| 73 69 62 6c 65 20 6f 66 | 20 6d 73 67 20 74 6f 20 |sible of| msg to |
|000014a0| 6e 6f 74 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |not the |visible |
|000014b0| 6f 66 20 6d 73 67 0d 65 | 6c 73 65 20 69 66 20 6b |of msg.e|lse if k|
|000014c0| 20 3d 20 22 4f 22 20 74 | 68 65 6e 20 73 65 6e 64 | = "O" t|hen send|
|000014d0| 20 22 69 6d 70 6f 72 74 | 48 54 4d 4c 22 20 74 6f | "import|HTML" to|
|000014e0| 20 74 68 69 73 20 63 64 | 0d 65 6c 73 65 20 70 61 | this cd|.else pa|
|000014f0| 73 73 20 63 6f 6d 6d 61 | 6e 64 4b 65 79 44 6f 77 |ss comma|ndKeyDow|
|00001500| 6e 0d 45 4e 44 20 49 46 | 0d 65 6e 64 20 63 6f 6d |n.END IF|.end com|
|00001510| 6d 61 6e 64 4b 65 79 44 | 6f 77 6e 0d 0d 6f 6e 20 |mandKeyD|own..on |
|00001520| 64 6f 4d 65 6e 75 20 69 | 0d 69 66 20 69 20 3d 20 |doMenu i|.if i = |
|00001530| 22 4e 65 77 20 42 61 63 | 6b 67 72 6f 75 6e 64 22 |"New Bac|kground"|
|00001540| 20 74 68 65 6e 20 62 65 | 65 70 0d 65 6c 73 65 20 | then be|ep.else |
|00001550| 69 66 20 69 20 3d 20 22 | 49 6d 70 6f 72 74 20 44 |if i = "|Import D|
|00001560| 6f 63 75 6d 65 6e 74 c9 | 22 20 74 68 65 6e 0d 67 |ocument.|" then.g|
|00001570| 6f 20 6c 61 73 74 20 63 | 64 20 6f 66 20 62 67 20 |o last c|d of bg |
|00001580| 22 45 64 69 74 6f 72 22 | 0d 73 65 6e 64 20 22 69 |"Editor"|.send "i|
|00001590| 6d 70 6f 72 74 48 54 4d | 4c 22 20 74 6f 20 74 68 |mportHTM|L" to th|
|000015a0| 69 73 20 63 64 0d 65 6c | 73 65 20 69 66 20 69 20 |is cd.el|se if i |
|000015b0| 3d 20 22 45 78 70 6f 72 | 74 20 44 6f 63 75 6d 65 |= "Expor|t Docume|
|000015c0| 6e 74 c9 22 20 74 68 65 | 6e 0d 67 65 74 20 6e 75 |nt." the|n.get nu|
|000015d0| 6d 62 65 72 28 74 68 69 | 73 20 63 64 29 0d 69 66 |mber(thi|s cd).if|
|000015e0| 20 28 74 68 65 20 73 68 | 6f 72 74 20 69 64 20 6f | (the sh|ort id o|
|000015f0| 66 20 74 68 69 73 20 62 | 67 20 3d 20 35 35 33 39 |f this b|g = 5539|
|00001600| 29 20 74 68 65 6e 20 73 | 65 6e 64 20 22 65 78 70 |) then s|end "exp|
|00001610| 6f 72 74 48 54 4d 4c 22 | 20 74 6f 20 74 68 69 73 |ortHTML"| to this|
|00001620| 20 63 64 0d 65 6c 73 65 | 20 62 65 65 70 0d 65 6c | cd.else| beep.el|
|00001630| 73 65 20 69 66 20 69 20 | 3d 20 22 43 6f 6d 70 61 |se if i |= "Compa|
|00001640| 63 74 20 53 74 61 63 6b | 22 20 74 68 65 6e 0d 63 |ct Stack|" then.c|
|00001650| 6c 6f 73 65 50 61 6c 65 | 74 74 65 73 0d 70 61 73 |losePale|ttes.pas|
|00001660| 73 20 64 6f 4d 65 6e 75 | 0d 65 6c 73 65 20 70 61 |s doMenu|.else pa|
|00001670| 73 73 20 64 6f 4d 65 6e | 75 0d 65 6e 64 20 64 6f |ss doMen|u.end do|
|00001680| 4d 65 6e 75 0d 0d 6f 6e | 20 69 64 6c 65 0d 69 66 |Menu..on| idle.if|
|00001690| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|000016a0| 6f 77 20 22 70 72 6f 67 | 72 65 73 73 22 20 74 68 |ow "prog|ress" th|
|000016b0| 65 6e 20 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |en close| window |
|000016c0| 22 70 72 6f 67 72 65 73 | 73 22 0d 70 61 73 73 20 |"progres|s".pass |
|000016d0| 69 64 6c 65 0d 65 6e 64 | 20 69 64 6c 65 0d 0d 6f |idle.end| idle..o|
|000016e0| 6e 20 73 68 6f 77 41 62 | 6f 75 74 20 74 68 65 54 |n showAb|out theT|
|000016f0| 69 6d 65 0d 69 66 20 74 | 68 65 54 69 6d 65 20 3d |ime.if t|heTime =|
|00001700| 20 22 22 20 74 68 65 6e | 20 70 75 74 20 39 39 39 | "" then| put 999|
|00001710| 20 69 6e 74 6f 20 74 68 | 65 54 69 6d 65 0d 69 66 | into th|eTime.if|
|00001720| 20 28 69 74 65 6d 20 32 | 20 6f 66 20 6c 69 6e 65 | (item 2| of line|
|00001730| 20 31 20 6f 66 20 67 65 | 74 4d 6f 64 65 28 29 20 | 1 of ge|tMode() |
|00001740| 3c 20 38 29 20 74 68 65 | 6e 20 73 68 6f 77 57 69 |< 8) the|n showWi|
|00001750| 6e 64 20 22 41 62 6f 75 | 74 42 6f 78 42 57 22 2c |nd "Abou|tBoxBW",|
|00001760| 74 68 65 54 69 6d 65 0d | 65 6c 73 65 20 73 68 6f |theTime.|else sho|
|00001770| 77 57 69 6e 64 20 22 41 | 62 6f 75 74 42 6f 78 22 |wWind "A|boutBox"|
|00001780| 2c 74 68 65 54 69 6d 65 | 0d 65 6e 64 20 73 68 6f |,theTime|.end sho|
|00001790| 77 41 62 6f 75 74 0d 0d | 6f 6e 20 73 68 6f 77 57 |wAbout..|on showW|
|000017a0| 69 6e 64 20 77 69 6e 64 | 2c 74 69 6d 65 0d 67 65 |ind wind|,time.ge|
|000017b0| 74 20 74 68 65 20 74 69 | 63 6b 73 0d 70 69 63 74 |t the ti|cks.pict|
|000017c0| 75 72 65 20 77 69 6e 64 | 2c 72 65 73 6f 75 72 63 |ure wind|,resourc|
|000017d0| 65 2c 73 68 61 64 6f 77 | 0d 69 66 20 74 68 65 72 |e,shadow|.if ther|
|000017e0| 65 20 69 73 20 6e 6f 20 | 77 69 6e 64 6f 77 20 77 |e is no |window w|
|000017f0| 69 6e 64 20 74 68 65 6e | 20 61 6e 73 77 65 72 20 |ind then| answer |
|00001800| 22 4f 55 54 20 4f 46 20 | 4d 45 4d 4f 52 59 20 45 |"OUT OF |MEMORY E|
|00001810| 52 52 4f 52 3a 22 26 72 | 65 74 75 72 6e 26 22 55 |RROR:"&r|eturn&"U|
|00001820| 6e 61 62 6c 65 20 74 6f | 20 64 69 73 70 6c 61 79 |nable to| display|
|00001830| 20 67 72 61 70 68 69 63 | 2e 20 41 6c 6c 6f 63 61 | graphic|. Alloca|
|00001840| 74 65 20 6d 6f 72 65 20 | 6d 65 6d 6f 72 79 20 74 |te more |memory t|
|00001850| 6f 20 74 68 69 73 20 61 | 70 70 6c 69 63 61 74 69 |o this a|pplicati|
|00001860| 6f 6e 2e 22 0d 65 6c 73 | 65 20 77 61 69 74 20 75 |on.".els|e wait u|
|00001870| 6e 74 69 6c 20 74 68 65 | 20 6d 6f 75 73 65 43 6c |ntil the| mouseCl|
|00001880| 69 63 6b 20 6f 72 20 74 | 68 65 20 74 69 63 6b 73 |ick or t|he ticks|
|00001890| 20 2d 20 69 74 20 3e 20 | 28 74 69 6d 65 20 2a 20 | - it > |(time * |
|000018a0| 36 30 29 0d 76 69 73 75 | 61 6c 20 7a 6f 6f 6d 20 |60).visu|al zoom |
|000018b0| 63 6c 6f 73 65 0d 69 66 | 20 74 68 65 72 65 20 69 |close.if| there i|
|000018c0| 73 20 61 20 77 69 6e 64 | 6f 77 20 77 69 6e 64 20 |s a wind|ow wind |
|000018d0| 74 68 65 6e 20 63 6c 6f | 73 65 20 77 69 6e 64 6f |then clo|se windo|
|000018e0| 77 20 77 69 6e 64 0d 65 | 6e 64 20 73 68 6f 77 57 |w wind.e|nd showW|
|000018f0| 69 6e 64 0d 0d 6f 6e 20 | 6d 6f 75 73 65 44 6f 77 |ind..on |mouseDow|
|00001900| 6e 49 6e 50 69 63 74 75 | 72 65 20 77 69 6e 64 0d |nInPictu|re wind.|
|00001910| 69 66 20 77 69 6e 64 20 | 3d 20 22 45 6e 74 69 74 |if wind |= "Entit|
|00001920| 69 65 73 22 20 74 68 65 | 6e 20 73 65 6c 65 63 74 |ies" the|n select|
|00001930| 45 6e 74 69 74 79 0d 65 | 6c 73 65 20 63 6c 6f 73 |Entity.e|lse clos|
|00001940| 65 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 0d 65 6e |e window| wind.en|
|00001950| 64 20 6d 6f 75 73 65 44 | 6f 77 6e 49 6e 50 69 63 |d mouseD|ownInPic|
|00001960| 74 75 72 65 0d 0d 6f 6e | 20 73 74 6f 70 55 73 69 |ture..on| stopUsi|
|00001970| 6e 67 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |ng.repea|t with i|
|00001980| 20 3d 20 31 20 74 6f 20 | 6e 75 6d 62 65 72 28 6c | = 1 to |number(l|
|00001990| 69 6e 65 73 20 69 6e 20 | 74 68 65 20 73 74 61 63 |ines in |the stac|
|000019a0| 6b 73 49 6e 55 73 65 29 | 0d 73 74 6f 70 20 75 73 |ksInUse)|.stop us|
|000019b0| 69 6e 67 20 73 74 61 63 | 6b 20 28 6c 69 6e 65 20 |ing stac|k (line |
|000019c0| 69 20 6f 66 20 74 68 65 | 20 73 74 61 63 6b 73 49 |i of the| stacksI|
|000019d0| 6e 55 73 65 29 0d 65 6e | 64 20 72 65 70 65 61 74 |nUse).en|d repeat|
|000019e0| 0d 65 6e 64 20 73 74 6f | 70 55 73 69 6e 67 0d 0d |.end sto|pUsing..|
|000019f0| 6f 6e 20 63 6f 6d 70 61 | 63 74 53 74 61 63 6b 20 |on compa|ctStack |
|00001a00| 6e 6f 77 0d 73 74 6f 70 | 55 73 69 6e 67 0d 67 65 |now.stop|Using.ge|
|00001a10| 74 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |t the sh|ort name|
|00001a20| 20 6f 66 20 63 64 20 62 | 74 6e 20 69 64 20 31 30 | of cd b|tn id 10|
|00001a30| 20 6f 66 20 63 64 20 22 | 70 72 65 66 73 22 0d 69 | of cd "|prefs".i|
|00001a40| 66 20 69 74 20 3d 20 22 | 41 6c 77 61 79 73 22 20 |f it = "|Always" |
|00001a50| 74 68 65 6e 20 67 65 74 | 20 22 3e 30 25 22 0d 65 |then get| ">0%".e|
|00001a60| 6c 73 65 0d 64 65 6c 65 | 74 65 20 66 69 72 73 74 |lse.dele|te first|
|00001a70| 20 63 68 61 72 20 6f 66 | 20 69 74 0d 64 65 6c 65 | char of| it.dele|
|00001a80| 74 65 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |te last |char of |
|00001a90| 69 74 0d 70 75 74 20 69 | 74 2f 31 30 30 20 69 6e |it.put i|t/100 in|
|00001aa0| 74 6f 20 74 68 72 65 73 | 68 6f 6c 64 0d 65 6e 64 |to thres|hold.end|
|00001ab0| 20 69 66 0d 69 66 20 28 | 74 68 65 20 66 72 65 65 | if.if (|the free|
|00001ac0| 53 69 7a 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |Size of |this sta|
|00001ad0| 63 6b 2f 74 68 65 20 73 | 69 7a 65 20 6f 66 20 74 |ck/the s|ize of t|
|00001ae0| 68 69 73 20 73 74 61 63 | 6b 20 3e 20 74 68 72 65 |his stac|k > thre|
|00001af0| 73 68 6f 6c 64 29 20 6f | 72 20 6e 6f 77 20 3d 20 |shold) o|r now = |
|00001b00| 54 52 55 45 0d 74 68 65 | 6e 20 64 6f 4d 65 6e 75 |TRUE.the|n doMenu|
|00001b10| 20 22 43 6f 6d 70 61 63 | 74 20 53 74 61 63 6b 22 | "Compac|t Stack"|
|00001b20| 0d 65 6e 64 20 63 6f 6d | 70 61 63 74 53 74 61 63 |.end com|pactStac|
|00001b30| 6b 0d 0d 6f 6e 20 70 72 | 69 6e 74 54 65 78 74 0d |k..on pr|intText.|
|00001b40| 69 66 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |if the s|hort nam|
|00001b50| 65 20 6f 66 20 74 68 69 | 73 20 62 67 20 3d 20 22 |e of thi|s bg = "|
|00001b60| 45 64 69 74 6f 72 22 20 | 74 68 65 6e 0d 6f 70 65 |Editor" |then.ope|
|00001b70| 6e 20 72 65 70 6f 72 74 | 20 70 72 69 6e 74 69 6e |n report| printin|
|00001b80| 67 20 77 69 74 68 20 74 | 65 6d 70 6c 61 74 65 20 |g with t|emplate |
|00001b90| 22 50 72 69 6e 74 44 6f | 63 75 6d 65 6e 74 22 0d |"PrintDo|cument".|
|00001ba0| 70 72 69 6e 74 20 74 68 | 69 73 20 63 64 0d 63 6c |print th|is cd.cl|
|00001bb0| 6f 73 65 20 70 72 69 6e | 74 69 6e 67 0d 65 6e 64 |ose prin|ting.end|
|00001bc0| 20 69 66 0d 65 6e 64 20 | 70 72 69 6e 74 54 65 78 | if.end |printTex|
|00001bd0| 74 0d 0d 2d 2d 20 a5 20 | 48 54 4d 4c 20 48 65 6c |t..-- . |HTML Hel|
|00001be0| 70 0d 0d 6f 6e 20 48 54 | 4d 4c 48 65 6c 70 20 69 |p..on HT|MLHelp i|
|00001bf0| 0d 67 6c 6f 62 61 6c 20 | 74 6f 70 69 63 0d 69 66 |.global |topic.if|
|00001c00| 20 69 20 3d 20 22 48 54 | 4d 4c 22 20 74 68 65 6e | i = "HT|ML" then|
|00001c10| 20 67 65 74 20 22 41 20 | 42 65 67 69 6e 6e 65 72 | get "A |Beginner|
|00001c20| 27 73 20 47 75 69 64 65 | 20 74 6f 20 48 54 4d 4c |'s Guide| to HTML|
|00001c30| 22 0d 65 6c 73 65 20 69 | 66 20 74 68 65 20 70 61 |".else i|f the pa|
|00001c40| 72 61 6d 43 6f 75 6e 74 | 20 3d 20 30 20 6f 72 20 |ramCount| = 0 or |
|00001c50| 69 20 3d 20 22 22 20 74 | 68 65 6e 20 67 65 74 20 |i = "" t|hen get |
|00001c60| 22 43 6f 6e 74 65 6e 74 | 73 22 0d 65 6c 73 65 20 |"Content|s".else |
|00001c70| 67 65 74 20 69 0d 70 75 | 74 20 69 74 20 69 6e 74 |get i.pu|t it int|
|00001c80| 6f 20 74 6f 70 69 63 0d | 69 66 20 69 20 3d 20 22 |o topic.|if i = "|
|00001c90| 41 62 6f 75 74 20 42 6f | 78 22 20 74 68 65 6e 20 |About Bo|x" then |
|00001ca0| 73 68 6f 77 41 62 6f 75 | 74 0d 65 6c 73 65 20 69 |showAbou|t.else i|
|00001cb0| 66 20 69 20 3d 20 22 50 | 61 6c 65 74 74 65 20 48 |f i = "P|alette H|
|00001cc0| 65 6c 70 22 20 74 68 65 | 6e 20 70 61 6c 65 74 74 |elp" the|n palett|
|00001cd0| 65 48 65 6c 70 0d 65 6c | 73 65 20 69 66 20 69 20 |eHelp.el|se if i |
|00001ce0| ad 20 22 66 61 6c 73 65 | 22 20 74 68 65 6e 0d 69 |. "false|" then.i|
|00001cf0| 66 20 68 65 6c 70 41 76 | 61 69 6c 61 62 6c 65 28 |f helpAv|ailable(|
|00001d00| 29 20 61 6e 64 20 74 68 | 65 72 65 20 69 73 20 6e |) and th|ere is n|
|00001d10| 6f 74 20 61 20 77 69 6e | 64 6f 77 20 22 48 54 4d |ot a win|dow "HTM|
|00001d20| 4c 2e 65 64 69 74 20 48 | 65 6c 70 22 20 74 68 65 |L.edit H|elp" the|
|00001d30| 6e 0d 67 65 74 20 74 72 | 75 6e 63 28 74 68 65 20 |n.get tr|unc(the |
|00001d40| 77 69 64 74 68 20 6f 66 | 20 63 64 20 77 69 6e 64 |width of| cd wind|
|00001d50| 6f 77 2f 36 29 26 22 2c | 34 34 2c 22 26 74 72 75 |ow/6)&",|44,"&tru|
|00001d60| 6e 63 28 35 2f 36 2a 74 | 68 65 20 77 69 64 74 68 |nc(5/6*t|he width|
|00001d70| 20 6f 66 20 63 64 20 77 | 69 6e 64 6f 77 29 26 22 | of cd w|indow)&"|
|00001d80| 2c 22 26 28 74 68 65 20 | 68 65 69 67 68 74 20 6f |,"&(the |height o|
|00001d90| 66 20 63 64 20 77 69 6e | 64 6f 77 29 2d 32 36 0d |f cd win|dow)-26.|
|00001da0| 54 65 78 74 6f 69 64 20 | 22 48 54 4d 4c 2e 65 64 |Textoid |"HTML.ed|
|00001db0| 69 74 20 48 65 6c 70 22 | 2c 74 6f 70 69 63 2c 62 |it Help"|,topic,b|
|00001dc0| 69 67 57 69 6e 64 6f 69 | 64 5a 6f 6f 6d 2c 69 74 |igWindoi|dZoom,it|
|00001dd0| 0d 62 69 6e 6b 0d 65 6e | 64 20 69 66 0d 69 66 20 |.bink.en|d if.if |
|00001de0| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|00001df0| 77 20 22 48 54 4d 4c 2e | 65 64 69 74 20 48 65 6c |w "HTML.|edit Hel|
|00001e00| 70 22 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |p" then.|set the |
|00001e10| 55 6e 4c 6f 63 6b 41 6c | 6c 6f 77 65 64 20 6f 66 |UnLockAl|lowed of|
|00001e20| 20 77 69 6e 64 6f 77 20 | 22 48 54 4d 4c 2e 65 64 | window |"HTML.ed|
|00001e30| 69 74 20 48 65 6c 70 22 | 20 74 6f 20 46 41 4c 53 |it Help"| to FALS|
|00001e40| 45 0d 73 65 74 20 74 65 | 78 74 20 6f 66 20 77 69 |E.set te|xt of wi|
|00001e50| 6e 64 6f 77 20 22 48 54 | 4d 4c 2e 65 64 69 74 20 |ndow "HT|ML.edit |
|00001e60| 48 65 6c 70 22 20 74 6f | 20 74 6f 70 69 63 20 2d |Help" to| topic -|
|00001e70| 2d 20 6c 6f 61 64 20 66 | 72 6f 6d 20 52 53 52 43 |- load f|rom RSRC|
|00001e80| 0d 73 65 74 20 66 69 65 | 6c 64 54 72 61 6e 73 66 |.set fie|ldTransf|
|00001e90| 65 72 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 48 54 |er of wi|ndow "HT|
|00001ea0| 4d 4c 2e 65 64 69 74 20 | 48 65 6c 70 22 20 74 6f |ML.edit |Help" to|
|00001eb0| 20 22 66 6c 64 20 69 64 | 20 31 35 22 20 2d 2d 20 | "fld id| 15" -- |
|00001ec0| 74 78 66 65 72 20 74 6f | 20 66 6c 64 0d 65 6c 73 |txfer to| fld.els|
|00001ed0| 65 0d 61 6e 73 77 65 72 | 20 22 45 52 52 4f 52 3a |e.answer| "ERROR:|
|00001ee0| 22 26 72 65 74 75 72 6e | 26 22 55 6e 61 62 6c 65 |"&return|&"Unable|
|00001ef0| 20 74 6f 20 64 69 73 70 | 6c 61 79 20 48 65 6c 70 | to disp|lay Help|
|00001f00| 20 77 69 6e 64 6f 77 2e | 20 50 6c 65 61 73 65 20 | window.| Please |
|00001f10| 70 6c 61 63 65 20 74 68 | 65 20 66 69 6c 65 20 27 |place th|e file '|
|00001f20| 48 54 4d 4c 2e 65 64 69 | 74 2e 48 65 6c 70 27 20 |HTML.edi|t.Help' |
|00001f30| 69 6e 20 74 68 65 20 73 | 61 6d 65 20 66 6f 6c 64 |in the s|ame fold|
|00001f40| 65 72 20 61 73 20 48 54 | 4d 4c 2e 65 64 69 74 20 |er as HT|ML.edit |
|00001f50| 61 6e 64 20 74 72 79 20 | 61 67 61 69 6e 2e 22 20 |and try |again." |
|00001f60| 77 69 74 68 20 22 43 61 | 6e 63 65 6c 22 0d 65 78 |with "Ca|ncel".ex|
|00001f70| 69 74 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |it to Hy|perCard.|
|00001f80| 65 6e 64 20 69 66 0d 75 | 6e 6c 6f 63 6b 20 73 63 |end if.u|nlock sc|
|00001f90| 72 65 65 6e 20 77 69 74 | 68 20 64 69 73 73 6f 6c |reen wit|h dissol|
|00001fa0| 76 65 20 76 65 72 79 20 | 66 61 73 74 0d 65 6e 64 |ve very |fast.end|
|00001fb0| 20 69 66 0d 65 6e 64 20 | 48 54 4d 4c 48 65 6c 70 | if.end |HTMLHelp|
|00001fc0| 0d 0d 6f 6e 20 63 6c 69 | 63 6b 49 6e 54 65 78 74 |..on cli|ckInText|
|00001fd0| 20 74 68 65 57 6f 72 64 | 2c 57 4e 61 6d 65 2c 77 | theWord|,WName,w|
|00001fe0| 2c 73 31 2c 73 32 2c 66 | 2c 73 32 2c 74 68 65 53 |,s1,s2,f|,s2,theS|
|00001ff0| 74 79 6c 65 20 2d 2d 20 | 63 6c 69 63 6b 20 69 6e |tyle -- |click in|
|00002000| 20 48 65 6c 70 20 77 69 | 6e 64 6f 77 0d 69 66 20 | Help wi|ndow.if |
|00002010| 74 68 65 53 74 79 6c 65 | 20 63 6f 6e 74 61 69 6e |theStyle| contain|
|00002020| 73 20 22 67 72 6f 75 70 | 22 20 61 6e 64 20 74 68 |s "group|" and th|
|00002030| 65 53 74 79 6c 65 20 63 | 6f 6e 74 61 69 6e 73 20 |eStyle c|ontains |
|00002040| 22 75 6e 64 65 72 6c 69 | 6e 65 22 20 74 68 65 6e |"underli|ne" then|
|00002050| 20 48 54 4d 4c 48 65 6c | 70 20 74 68 65 57 6f 72 | HTMLHel|p theWor|
|00002060| 64 0d 65 6e 64 20 63 6c | 69 63 6b 49 6e 54 65 78 |d.end cl|ickInTex|
|00002070| 74 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 68 65 6c 70 |t..funct|ion help|
|00002080| 41 76 61 69 6c 61 62 6c | 65 0d 72 65 74 75 72 6e |Availabl|e.return|
|00002090| 20 54 52 55 45 20 2d 2d | 20 a5 20 64 65 6c 65 74 | TRUE --| . delet|
|000020a0| 65 0d 69 66 20 73 74 61 | 63 6b 4e 61 6d 65 28 63 |e.if sta|ckName(c|
|000020b0| 64 20 66 6c 64 20 22 68 | 65 6c 70 53 74 61 63 6b |d fld "h|elpStack|
|000020c0| 22 20 6f 66 20 63 64 20 | 22 70 72 65 66 73 22 29 |" of cd |"prefs")|
|000020d0| 20 69 73 20 69 6e 20 74 | 68 65 20 73 74 61 63 6b | is in t|he stack|
|000020e0| 73 49 6e 55 73 65 20 74 | 68 65 6e 20 72 65 74 75 |sInUse t|hen retu|
|000020f0| 72 6e 20 54 52 55 45 0d | 65 6c 73 65 0d 72 65 70 |rn TRUE.|else.rep|
|00002100| 65 61 74 20 31 20 74 69 | 6d 65 73 0d 67 65 74 20 |eat 1 ti|mes.get |
|00002110| 66 69 6c 65 45 78 69 73 | 74 73 28 63 64 20 66 6c |fileExis|ts(cd fl|
|00002120| 64 20 22 68 65 6c 70 53 | 74 61 63 6b 22 20 6f 66 |d "helpS|tack" of|
|00002130| 20 63 64 20 22 70 72 65 | 66 73 22 2c 22 6e 6f 64 | cd "pre|fs","nod|
|00002140| 69 61 6c 6f 67 3a 65 72 | 72 47 6c 6f 62 61 6c 22 |ialog:er|rGlobal"|
|00002150| 29 0d 69 66 20 65 72 72 | 47 6c 6f 62 61 6c 20 3d |).if err|Global =|
|00002160| 20 22 22 0d 74 68 65 6e | 20 73 74 61 72 74 20 75 | "".then| start u|
|00002170| 73 69 6e 67 20 73 74 61 | 63 6b 20 63 64 20 66 6c |sing sta|ck cd fl|
|00002180| 64 20 22 68 65 6c 70 53 | 74 61 63 6b 22 20 6f 66 |d "helpS|tack" of|
|00002190| 20 63 64 20 22 70 72 65 | 66 73 22 0d 65 6c 73 65 | cd "pre|fs".else|
|000021a0| 20 73 74 61 72 74 20 75 | 73 69 6e 67 20 73 74 61 | start u|sing sta|
|000021b0| 63 6b 20 22 48 54 4d 4c | 2e 65 64 69 74 2e 48 65 |ck "HTML|.edit.He|
|000021c0| 6c 70 22 0d 69 66 20 22 | 48 54 4d 4c 2e 65 64 69 |lp".if "|HTML.edi|
|000021d0| 74 2e 48 65 6c 70 22 20 | 69 73 20 6e 6f 74 20 69 |t.Help" |is not i|
|000021e0| 6e 20 74 68 65 20 73 74 | 61 63 6b 73 49 6e 55 73 |n the st|acksInUs|
|000021f0| 65 0d 74 68 65 6e 20 70 | 75 74 20 22 48 54 4d 4c |e.then p|ut "HTML|
|00002200| 2e 65 64 69 74 2e 48 65 | 6c 70 22 20 69 6e 74 6f |.edit.He|lp" into|
|00002210| 20 63 64 20 66 6c 64 20 | 22 68 65 6c 70 53 74 61 | cd fld |"helpSta|
|00002220| 63 6b 22 20 6f 66 20 63 | 64 20 22 70 72 65 66 73 |ck" of c|d "prefs|
|00002230| 22 0d 65 6c 73 65 0d 70 | 75 74 20 74 68 65 50 61 |".else.p|ut thePa|
|00002240| 74 68 28 74 68 65 20 6c | 6f 6e 67 20 6e 61 6d 65 |th(the l|ong name|
|00002250| 20 6f 66 20 73 74 61 63 | 6b 20 22 48 54 4d 4c 2e | of stac|k "HTML.|
|00002260| 65 64 69 74 2e 48 65 6c | 70 22 29 26 22 48 54 4d |edit.Hel|p")&"HTM|
|00002270| 4c 2e 65 64 69 74 2e 48 | 65 6c 70 22 20 69 6e 74 |L.edit.H|elp" int|
|00002280| 6f 20 c2 0d 63 64 20 66 | 6c 64 20 22 68 65 6c 70 |o ..cd f|ld "help|
|00002290| 53 74 61 63 6b 22 20 6f | 66 20 63 64 20 22 70 72 |Stack" o|f cd "pr|
|000022a0| 65 66 73 22 0d 72 65 74 | 75 72 6e 20 54 52 55 45 |efs".ret|urn TRUE|
|000022b0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|000022c0| 61 74 0d 65 6e 64 20 69 | 66 0d 72 65 74 75 72 6e |at.end i|f.return|
|000022d0| 20 46 41 4c 53 45 0d 65 | 6e 64 20 68 65 6c 70 41 | FALSE.e|nd helpA|
|000022e0| 76 61 69 6c 61 62 6c 65 | 0d 0d 6f 6e 20 69 6e 64 |vailable|..on ind|
|000022f0| 65 78 53 74 61 63 6b 0d | 67 6c 6f 62 61 6c 20 69 |exStack.|global i|
|00002300| 6e 64 65 78 55 70 64 61 | 74 65 64 2c 69 6e 64 65 |ndexUpda|ted,inde|
|00002310| 78 4c 69 73 74 2c 63 61 | 72 64 49 44 4c 69 73 74 |xList,ca|rdIDList|
|00002320| 0d 69 66 20 74 68 65 20 | 73 68 6f 72 74 20 69 64 |.if the |short id|
|00002330| 20 6f 66 20 74 68 69 73 | 20 63 64 20 3d 20 32 32 | of this| cd = 22|
|00002340| 39 32 20 74 68 65 6e 20 | 70 75 74 20 22 22 20 69 |92 then |put "" i|
|00002350| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 49 6e 64 65 |nto cd f|ld "Inde|
|00002360| 78 22 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |x".set c|ursor to|
|00002370| 20 49 6e 64 65 78 0d 6c | 6f 63 6b 20 73 63 72 65 | Index.l|ock scre|
|00002380| 65 6e 0d 70 75 73 68 20 | 63 64 0d 6c 6f 63 6b 20 |en.push |cd.lock |
|00002390| 6d 65 73 73 61 67 65 73 | 0d 67 6f 20 63 64 20 22 |messages|.go cd "|
|000023a0| 69 6e 64 65 78 22 0d 70 | 75 74 20 22 22 20 69 6e |index".p|ut "" in|
|000023b0| 74 6f 20 69 6e 64 65 78 | 4c 69 73 74 0d 70 75 74 |to index|List.put|
|000023c0| 20 22 22 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 | "" into| cd fld |
|000023d0| 22 49 6e 64 65 78 22 0d | 70 75 74 20 22 22 20 69 |"Index".|put "" i|
|000023e0| 6e 74 6f 20 63 68 61 72 | 43 6f 75 6e 74 4c 69 73 |nto char|CountLis|
|000023f0| 74 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 63 64 |t.put ""| into cd|
|00002400| 20 66 6c 64 20 22 63 68 | 61 72 43 6f 75 6e 74 4c | fld "ch|arCountL|
|00002410| 69 73 74 22 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |ist".put| "" into|
|00002420| 20 6c 61 73 74 53 61 76 | 65 64 4c 69 73 74 0d 70 | lastSav|edList.p|
|00002430| 75 74 20 22 22 20 69 6e | 74 6f 20 63 64 20 66 6c |ut "" in|to cd fl|
|00002440| 64 20 22 6c 61 73 74 53 | 61 76 65 64 4c 69 73 74 |d "lastS|avedList|
|00002450| 22 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 63 61 |".put ""| into ca|
|00002460| 72 64 49 44 4c 69 73 74 | 0d 70 75 74 20 22 22 20 |rdIDList|.put "" |
|00002470| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 63 61 72 |into cd |fld "car|
|00002480| 64 49 44 4c 69 73 74 22 | 0d 67 6f 20 66 69 72 73 |dIDList"|.go firs|
|00002490| 74 20 63 64 20 6f 66 20 | 62 67 20 22 45 64 69 74 |t cd of |bg "Edit|
|000024a0| 6f 72 22 0d 70 75 74 20 | 6e 75 6d 62 65 72 28 63 |or".put |number(c|
|000024b0| 64 73 20 69 6e 20 74 68 | 69 73 20 62 67 29 20 69 |ds in th|is bg) i|
|000024c0| 6e 74 6f 20 65 6e 64 4f | 70 0d 69 66 20 65 6e 64 |nto endO|p.if end|
|000024d0| 4f 70 20 3e 20 33 0d 74 | 68 65 6e 20 70 72 6f 67 |Op > 3.t|hen prog|
|000024e0| 72 65 73 73 57 69 6e 64 | 6f 77 20 22 a9 44 6f 6d |ressWind|ow ".Dom|
|000024f0| 65 22 2c 22 50 72 6f 67 | 72 65 73 73 22 2c 22 49 |e","Prog|ress","I|
|00002500| 6e 64 65 78 69 6e 67 20 | 64 6f 63 75 6d 65 6e 74 |ndexing |document|
|00002510| 73 c9 22 26 72 65 74 75 | 72 6e 26 22 54 79 70 65 |s."&retu|rn&"Type|
|00002520| 20 11 2d 2e 20 74 6f 20 | 68 61 6c 74 20 70 72 6f | .-. to |halt pro|
|00002530| 63 65 73 73 69 6e 67 2e | 22 2c 34 31 33 30 0d 72 |cessing.|",4130.r|
|00002540| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00002550| 20 74 6f 20 65 6e 64 4f | 70 0d 67 6f 20 63 64 20 | to endO|p.go cd |
|00002560| 69 20 6f 66 20 74 68 69 | 73 20 62 67 0d 70 75 74 |i of thi|s bg.put|
|00002570| 20 74 68 65 20 73 68 6f | 72 74 20 69 64 20 6f 66 | the sho|rt id of|
|00002580| 20 74 68 69 73 20 63 64 | 26 72 65 74 75 72 6e 20 | this cd|&return |
|00002590| 61 66 74 65 72 20 63 61 | 72 64 49 44 4c 69 73 74 |after ca|rdIDList|
|000025a0| 0d 70 75 74 20 66 6c 64 | 20 22 74 69 74 6c 65 22 |.put fld| "title"|
|000025b0| 26 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 69 6e |&return |after in|
|000025c0| 64 65 78 4c 69 73 74 0d | 70 75 74 20 6e 75 6d 62 |dexList.|put numb|
|000025d0| 65 72 28 63 68 61 72 73 | 20 69 6e 20 66 6c 64 20 |er(chars| in fld |
|000025e0| 69 64 20 31 29 2b 6e 75 | 6d 62 65 72 28 63 68 61 |id 1)+nu|mber(cha|
|000025f0| 72 73 20 69 6e 20 66 6c | 64 20 69 64 20 32 29 2b |rs in fl|d id 2)+|
|00002600| 6e 75 6d 62 65 72 28 63 | 68 61 72 73 20 69 6e 20 |number(c|hars in |
|00002610| 66 6c 64 20 69 64 20 33 | 29 26 c2 0d 22 20 63 68 |fld id 3|)&.." ch|
|00002620| 61 72 73 22 26 72 65 74 | 75 72 6e 20 61 66 74 65 |ars"&ret|urn afte|
|00002630| 72 20 63 68 61 72 43 6f | 75 6e 74 4c 69 73 74 0d |r charCo|untList.|
|00002640| 69 66 20 66 6c 64 20 69 | 64 20 31 30 20 ad 20 22 |if fld i|d 10 . "|
|00002650| 22 20 74 68 65 6e 20 67 | 65 74 20 66 6c 64 20 69 |" then g|et fld i|
|00002660| 64 20 31 30 20 65 6c 73 | 65 20 67 65 74 20 22 6e |d 10 els|e get "n|
|00002670| 6f 74 20 73 61 76 65 64 | 22 0d 70 75 74 20 69 74 |ot saved|".put it|
|00002680| 26 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 6c 61 |&return |after la|
|00002690| 73 74 53 61 76 65 64 4c | 69 73 74 0d 69 66 20 76 |stSavedL|ist.if v|
|000026a0| 69 7a 28 22 50 72 6f 67 | 72 65 73 73 22 29 20 74 |iz("Prog|ress") t|
|000026b0| 68 65 6e 20 73 65 74 20 | 74 68 65 50 65 72 63 65 |hen set |thePerce|
|000026c0| 6e 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 50 72 |nt of wi|ndow "Pr|
|000026d0| 6f 67 72 65 73 73 22 20 | 74 6f 20 28 69 2f 65 6e |ogress" |to (i/en|
|000026e0| 64 4f 70 29 2a 31 30 30 | 0d 65 6e 64 20 72 65 70 |dOp)*100|.end rep|
|000026f0| 65 61 74 0d 67 6f 20 63 | 64 20 69 64 20 32 32 39 |eat.go c|d id 229|
|00002700| 32 0d 69 66 20 6c 61 73 | 74 20 63 68 61 72 20 6f |2.if las|t char o|
|00002710| 66 20 69 6e 64 65 78 4c | 69 73 74 20 3d 20 72 65 |f indexL|ist = re|
|00002720| 74 75 72 6e 20 74 68 65 | 6e 20 64 65 6c 65 74 65 |turn the|n delete|
|00002730| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 69 6e | last ch|ar of in|
|00002740| 64 65 78 4c 69 73 74 0d | 70 75 74 20 69 6e 64 65 |dexList.|put inde|
|00002750| 78 4c 69 73 74 20 69 6e | 74 6f 20 63 64 20 66 6c |xList in|to cd fl|
|00002760| 64 20 22 49 6e 64 65 78 | 22 0d 70 75 74 20 72 65 |d "Index|".put re|
|00002770| 74 75 72 6e 20 61 66 74 | 65 72 20 69 6e 64 65 78 |turn aft|er index|
|00002780| 4c 69 73 74 0d 70 75 74 | 20 63 61 72 64 49 44 4c |List.put| cardIDL|
|00002790| 69 73 74 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |ist into| cd fld |
|000027a0| 22 63 61 72 64 49 44 4c | 69 73 74 22 0d 70 75 74 |"cardIDL|ist".put|
|000027b0| 20 63 68 61 72 43 6f 75 | 6e 74 4c 69 73 74 20 69 | charCou|ntList i|
|000027c0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 63 68 61 72 |nto cd f|ld "char|
|000027d0| 43 6f 75 6e 74 4c 69 73 | 74 22 0d 70 75 74 20 6c |CountLis|t".put l|
|000027e0| 61 73 74 53 61 76 65 64 | 4c 69 73 74 20 69 6e 74 |astSaved|List int|
|000027f0| 6f 20 63 64 20 66 6c 64 | 20 22 6c 61 73 74 53 61 |o cd fld| "lastSa|
|00002800| 76 65 64 4c 69 73 74 22 | 0d 69 66 20 76 69 7a 28 |vedList"|.if viz(|
|00002810| 22 50 72 6f 67 72 65 73 | 73 22 29 20 74 68 65 6e |"Progres|s") then|
|00002820| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 22 50 | close w|indow "P|
|00002830| 72 6f 67 72 65 73 73 22 | 0d 70 75 74 20 54 52 55 |rogress"|.put TRU|
|00002840| 45 20 69 6e 74 6f 20 69 | 6e 64 65 78 55 70 64 61 |E into i|ndexUpda|
|00002850| 74 65 64 0d 70 6f 70 20 | 63 64 0d 75 6e 6c 6f 63 |ted.pop |cd.unloc|
|00002860| 6b 20 73 63 72 65 65 6e | 0d 65 6e 64 20 69 6e 64 |k screen|.end ind|
|00002870| 65 78 53 74 61 63 6b 0d | 0d 2d 2d 20 a5 20 48 54 |exStack.|.-- . HT|
|00002880| 4d 4c 20 43 6f 64 69 6e | 67 0d 0d 6f 6e 20 48 54 |ML Codin|g..on HT|
|00002890| 4d 4c 41 64 64 72 65 73 | 73 0d 69 66 20 65 6d 70 |MLAddres|s.if emp|
|000028a0| 74 79 53 65 6c 65 63 74 | 69 6f 6e 28 29 20 74 68 |tySelect|ion() th|
|000028b0| 65 6e 20 65 78 69 74 20 | 48 54 4d 4c 41 64 64 72 |en exit |HTMLAddr|
|000028c0| 65 73 73 0d 65 6c 73 65 | 20 70 75 74 20 74 68 65 |ess.else| put the|
|000028d0| 20 73 65 6c 65 63 74 69 | 6f 6e 20 69 6e 74 6f 20 | selecti|on into |
|000028e0| 74 68 65 54 65 78 74 0d | 70 75 74 20 74 68 65 20 |theText.|put the |
|000028f0| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00002900| 6f 66 20 74 68 65 54 65 | 78 74 20 69 6e 74 6f 20 |of theTe|xt into |
|00002910| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |n.repeat| with i |
|00002920| 3d 20 31 20 74 6f 20 6e | 0d 70 75 74 20 22 3c 50 |= 1 to n|.put "<P|
|00002930| 3e 22 20 61 66 74 65 72 | 20 6c 69 6e 65 20 69 20 |>" after| line i |
|00002940| 6f 66 20 74 68 65 54 65 | 78 74 0d 65 6e 64 20 72 |of theTe|xt.end r|
|00002950| 65 70 65 61 74 0d 69 66 | 20 6c 61 73 74 20 63 68 |epeat.if| last ch|
|00002960| 61 72 20 6f 66 20 74 68 | 65 54 65 78 74 20 ad 20 |ar of th|eText . |
|00002970| 72 65 74 75 72 6e 20 74 | 68 65 6e 20 70 75 74 20 |return t|hen put |
|00002980| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 74 68 65 |return a|fter the|
|00002990| 54 65 78 74 0d 70 75 74 | 20 22 3c 41 44 44 52 45 |Text.put| "<ADDRE|
|000029a0| 53 53 3e 22 26 72 65 74 | 75 72 6e 26 74 68 65 54 |SS>"&ret|urn&theT|
|000029b0| 65 78 74 26 22 3c 2f 41 | 44 44 52 45 53 53 3e 22 |ext&"</A|DDRESS>"|
|000029c0| 20 69 6e 74 6f 20 74 68 | 65 20 73 65 6c 65 63 74 | into th|e select|
|000029d0| 69 6f 6e 0d 65 6e 64 20 | 48 54 4d 4c 41 64 64 72 |ion.end |HTMLAddr|
|000029e0| 65 73 73 0d 0d 6f 6e 20 | 48 54 4d 4c 42 6c 6f 63 |ess..on |HTMLBloc|
|000029f0| 6b 71 75 6f 74 65 0d 69 | 66 20 65 6d 70 74 79 53 |kquote.i|f emptyS|
|00002a00| 65 6c 65 63 74 69 6f 6e | 28 29 20 74 68 65 6e 20 |election|() then |
|00002a10| 65 78 69 74 20 48 54 4d | 4c 42 6c 6f 63 6b 71 75 |exit HTM|LBlockqu|
|00002a20| 6f 74 65 0d 65 6c 73 65 | 20 70 75 74 20 74 68 65 |ote.else| put the|
|00002a30| 20 73 65 6c 65 63 74 69 | 6f 6e 20 69 6e 74 6f 20 | selecti|on into |
|00002a40| 74 68 65 54 65 78 74 0d | 69 66 20 6c 61 73 74 20 |theText.|if last |
|00002a50| 63 68 61 72 20 6f 66 20 | 74 68 65 54 65 78 74 20 |char of |theText |
|00002a60| ad 20 72 65 74 75 72 6e | 20 74 68 65 6e 20 70 75 |. return| then pu|
|00002a70| 74 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 74 |t return| after t|
|00002a80| 68 65 54 65 78 74 0d 70 | 75 74 20 22 3c 42 4c 4f |heText.p|ut "<BLO|
|00002a90| 43 4b 51 55 4f 54 45 3e | 22 26 72 65 74 75 72 6e |CKQUOTE>|"&return|
|00002aa0| 26 74 68 65 54 65 78 74 | 26 22 3c 2f 42 4c 4f 43 |&theText|&"</BLOC|
|00002ab0| 4b 51 55 4f 54 45 3e 22 | 20 69 6e 74 6f 20 74 68 |KQUOTE>"| into th|
|00002ac0| 65 20 73 65 6c 65 63 74 | 69 6f 6e 0d 65 6e 64 20 |e select|ion.end |
|00002ad0| 48 54 4d 4c 42 6c 6f 63 | 6b 71 75 6f 74 65 0d 0d |HTMLBloc|kquote..|
|00002ae0| 6f 6e 20 48 54 4d 4c 43 | 6f 6d 6d 65 6e 74 0d 70 |on HTMLC|omment.p|
|00002af0| 75 74 20 77 6f 72 64 20 | 32 20 6f 66 20 74 68 65 |ut word |2 of the|
|00002b00| 20 73 65 6c 65 63 74 65 | 64 4c 69 6e 65 20 69 6e | selecte|dLine in|
|00002b10| 74 6f 20 63 75 72 72 65 | 6e 74 4c 69 6e 65 0d 70 |to curre|ntLine.p|
|00002b20| 75 74 20 6c 69 6e 65 20 | 63 75 72 72 65 6e 74 4c |ut line |currentL|
|00002b30| 69 6e 65 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |ine of t|he targe|
|00002b40| 74 20 69 6e 74 6f 20 6c | 69 6e 65 54 65 78 74 0d |t into l|ineText.|
|00002b50| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00002b60| 31 20 74 6f 20 6e 75 6d | 62 65 72 28 6c 69 6e 65 |1 to num|ber(line|
|00002b70| 73 20 69 6e 20 74 68 65 | 20 74 61 72 67 65 74 29 |s in the| target)|
|00002b80| 20 2b 20 31 0d 69 66 20 | 6c 69 6e 65 20 69 20 6f | + 1.if |line i o|
|00002b90| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 3d 20 22 |f the ta|rget = "|
|00002ba0| 22 20 74 68 65 6e 20 6e | 65 78 74 20 72 65 70 65 |" then n|ext repe|
|00002bb0| 61 74 0d 69 66 20 63 68 | 61 72 20 31 20 74 6f 20 |at.if ch|ar 1 to |
|00002bc0| 34 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 20 74 |4 of lin|e i of t|
|00002bd0| 68 65 20 74 61 72 67 65 | 74 20 ad 20 22 3c 21 2d |he targe|t . "<!-|
|00002be0| 2d 22 20 74 68 65 6e 20 | 70 75 74 20 22 3c 21 2d |-" then |put "<!-|
|00002bf0| 2d 20 22 20 62 65 66 6f | 72 65 20 6c 69 6e 65 20 |- " befo|re line |
|00002c00| 69 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 0d |i of the| target.|
|00002c10| 69 66 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |if last |char of |
|00002c20| 6c 69 6e 65 20 69 20 6f | 66 20 74 68 65 20 74 61 |line i o|f the ta|
|00002c30| 72 67 65 74 20 ad 20 22 | 3e 22 20 74 68 65 6e 20 |rget . "|>" then |
|00002c40| 70 75 74 20 22 20 3e 22 | 20 61 66 74 65 72 20 6c |put " >"| after l|
|00002c50| 69 6e 65 20 69 20 6f 66 | 20 74 68 65 20 74 61 72 |ine i of| the tar|
|00002c60| 67 65 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 |get.end |repeat.i|
|00002c70| 66 20 63 75 72 72 65 6e | 74 4c 69 6e 65 20 3e 20 |f curren|tLine > |
|00002c80| 30 20 74 68 65 6e 20 64 | 6f 20 22 73 65 6c 65 63 |0 then d|o "selec|
|00002c90| 74 20 61 66 74 65 72 20 | 6c 69 6e 65 22 26 26 63 |t after |line"&&c|
|00002ca0| 75 72 72 65 6e 74 4c 69 | 6e 65 26 26 22 6f 66 20 |urrentLi|ne&&"of |
|00002cb0| 74 68 65 20 74 61 72 67 | 65 74 22 0d 65 6e 64 20 |the targ|et".end |
|00002cc0| 48 54 4d 4c 43 6f 6d 6d | 65 6e 74 0d 0d 6f 6e 20 |HTMLComm|ent..on |
|00002cd0| 48 54 4d 4c 44 61 74 65 | 20 64 61 74 65 46 6f 72 |HTMLDate| dateFor|
|00002ce0| 6d 61 74 0d 67 65 74 20 | 22 7b 22 26 64 61 74 65 |mat.get |"{"&date|
|00002cf0| 46 6f 72 6d 61 74 26 22 | 7d 22 0d 69 66 20 22 66 |Format&"|}".if "f|
|00002d00| 69 65 6c 64 22 20 69 73 | 20 69 6e 20 74 68 65 20 |ield" is| in the |
|00002d10| 73 65 6c 65 63 74 65 64 | 43 68 75 6e 6b 20 74 68 |selected|Chunk th|
|00002d20| 65 6e 0d 69 66 20 74 68 | 65 20 73 65 6c 65 63 74 |en.if th|e select|
|00002d30| 69 6f 6e 20 3d 20 22 22 | 20 74 68 65 6e 20 74 79 |ion = ""| then ty|
|00002d40| 70 65 20 69 74 0d 65 6c | 73 65 20 70 75 74 20 69 |pe it.el|se put i|
|00002d50| 74 20 69 6e 74 6f 20 74 | 68 65 20 73 65 6c 65 63 |t into t|he selec|
|00002d60| 74 69 6f 6e 0d 65 6c 73 | 65 20 61 6e 73 77 65 72 |tion.els|e answer|
|00002d70| 20 22 59 6f 75 20 6d 75 | 73 74 20 73 65 6c 65 63 | "You mu|st selec|
|00002d80| 74 20 73 6f 6d 65 20 74 | 65 78 74 20 6f 72 20 70 |t some t|ext or p|
|00002d90| 6c 61 63 65 20 74 68 65 | 20 69 6e 73 65 72 74 69 |lace the| inserti|
|00002da0| 6f 6e 20 70 6f 69 6e 74 | 20 69 6e 74 6f 20 61 6e |on point| into an|
|00002db0| 20 65 64 69 74 6f 72 20 | 66 69 65 6c 64 20 66 6f | editor |field fo|
|00002dc0| 72 20 74 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |r this f|unction |
|00002dd0| 74 6f 20 77 6f 72 6b 2e | 22 20 77 69 74 68 20 22 |to work.|" with "|
|00002de0| 43 61 6e 63 65 6c 22 0d | 65 6e 64 20 48 54 4d 4c |Cancel".|end HTML|
|00002df0| 44 61 74 65 0d 0d 6f 6e | 20 48 54 4d 4c 45 6e 74 |Date..on| HTMLEnt|
|00002e00| 69 74 79 0d 67 6c 6f 62 | 61 6c 20 65 6e 74 69 74 |ity.glob|al entit|
|00002e10| 69 65 73 0d 69 66 20 6c | 65 6e 67 74 68 28 74 68 |ies.if l|ength(th|
|00002e20| 65 20 73 65 6c 65 63 74 | 69 6f 6e 29 20 3d 20 30 |e select|ion) = 0|
|00002e30| 20 74 68 65 6e 0d 69 66 | 20 74 68 65 72 65 20 69 | then.if| there i|
|00002e40| 73 20 61 20 77 69 6e 64 | 6f 77 20 22 45 6e 74 69 |s a wind|ow "Enti|
|00002e50| 74 69 65 73 22 20 74 68 | 65 6e 20 73 68 6f 77 20 |ties" th|en show |
|00002e60| 77 69 6e 64 6f 77 20 22 | 45 6e 74 69 74 69 65 73 |window "|Entities|
|00002e70| 22 0d 65 6c 73 65 20 70 | 69 63 74 75 72 65 20 22 |".else p|icture "|
|00002e80| 45 6e 74 69 74 69 65 73 | 22 2c 72 65 73 6f 75 72 |Entities|",resour|
|00002e90| 63 65 2c 70 6c 61 69 6e | 0d 65 6c 73 65 20 69 66 |ce,plain|.else if|
|00002ea0| 20 6c 65 6e 67 74 68 28 | 74 68 65 20 73 65 6c 65 | length(|the sele|
|00002eb0| 63 74 69 6f 6e 29 20 3e | 20 6c 65 6e 67 74 68 28 |ction) >| length(|
|00002ec0| 65 6e 74 69 74 69 65 73 | 29 20 74 68 65 6e 0d 67 |entities|) then.g|
|00002ed0| 65 74 20 74 68 65 20 73 | 65 6c 65 63 74 69 6f 6e |et the s|election|
|00002ee0| 0d 70 75 74 20 6e 75 6d | 62 65 72 28 63 68 61 72 |.put num|ber(char|
|00002ef0| 73 20 69 6e 20 65 6e 74 | 69 74 69 65 73 29 20 69 |s in ent|ities) i|
|00002f00| 6e 74 6f 20 65 6e 64 4f | 70 0d 70 72 6f 67 72 65 |nto endO|p.progre|
|00002f10| 73 73 57 69 6e 64 6f 77 | 20 22 a9 44 6f 6d 65 22 |ssWindow| ".Dome"|
|00002f20| 2c 22 50 72 6f 67 72 65 | 73 73 22 2c 22 52 65 70 |,"Progre|ss","Rep|
|00002f30| 6c 61 63 69 6e 67 20 49 | 53 4f 20 4c 61 74 69 6e |lacing I|SO Latin|
|00002f40| 20 45 6e 74 69 74 69 65 | 73 c9 22 26 72 65 74 75 | Entitie|s."&retu|
|00002f50| 72 6e 26 22 54 79 70 65 | 20 11 2d 2e 20 74 6f 20 |rn&"Type| .-. to |
|00002f60| 68 61 6c 74 20 70 72 6f | 63 65 73 73 69 6e 67 2e |halt pro|cessing.|
|00002f70| 22 2c 34 31 33 30 0d 72 | 65 70 65 61 74 20 77 69 |",4130.r|epeat wi|
|00002f80| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 65 6e 64 4f |th i = 1| to endO|
|00002f90| 70 0d 70 75 74 20 63 68 | 61 72 20 69 20 6f 66 20 |p.put ch|ar i of |
|00002fa0| 65 6e 74 69 74 69 65 73 | 20 69 6e 74 6f 20 73 72 |entities| into sr|
|00002fb0| 63 0d 67 65 74 20 72 65 | 70 28 69 74 2c 73 72 63 |c.get re|p(it,src|
|00002fc0| 2c 65 6e 74 32 48 54 4d | 4c 28 73 72 63 29 29 0d |,ent2HTM|L(src)).|
|00002fd0| 69 66 20 69 20 6d 6f 64 | 20 35 20 3d 20 30 20 61 |if i mod| 5 = 0 a|
|00002fe0| 6e 64 20 76 69 7a 28 22 | 50 72 6f 67 72 65 73 73 |nd viz("|Progress|
|00002ff0| 22 29 20 74 68 65 6e 20 | 73 65 74 20 74 68 65 50 |") then |set theP|
|00003000| 65 72 63 65 6e 74 20 6f | 66 20 77 69 6e 64 6f 77 |ercent o|f window|
|00003010| 20 22 50 72 6f 67 72 65 | 73 73 22 20 74 6f 20 28 | "Progre|ss" to (|
|00003020| 69 2f 65 6e 64 4f 70 29 | 2a 31 30 30 0d 65 6e 64 |i/endOp)|*100.end|
|00003030| 20 72 65 70 65 61 74 0d | 69 66 20 76 69 7a 28 22 | repeat.|if viz("|
|00003040| 50 72 6f 67 72 65 73 73 | 22 29 20 74 68 65 6e 20 |Progress|") then |
|00003050| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 22 50 72 |close wi|ndow "Pr|
|00003060| 6f 67 72 65 73 73 22 0d | 62 69 6e 6b 0d 65 6c 73 |ogress".|bink.els|
|00003070| 65 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |e.set cu|rsor to |
|00003080| 77 61 74 63 68 0d 67 65 | 74 20 22 22 0d 70 75 74 |watch.ge|t "".put|
|00003090| 20 6c 65 6e 67 74 68 28 | 74 68 65 20 73 65 6c 65 | length(|the sele|
|000030a0| 63 74 69 6f 6e 29 20 69 | 6e 74 6f 20 65 6e 64 4f |ction) i|nto endO|
|000030b0| 70 0d 69 66 20 65 6e 64 | 4f 70 20 3e 20 33 30 0d |p.if end|Op > 30.|
|000030c0| 74 68 65 6e 20 70 72 6f | 67 72 65 73 73 57 69 6e |then pro|gressWin|
|000030d0| 64 6f 77 20 22 a9 44 6f | 6d 65 22 2c 22 50 72 6f |dow ".Do|me","Pro|
|000030e0| 67 72 65 73 73 22 2c 22 | 53 63 61 6e 6e 69 6e 67 |gress","|Scanning|
|000030f0| 20 66 6f 72 20 49 53 4f | 20 4c 61 74 69 6e 20 45 | for ISO| Latin E|
|00003100| 6e 74 69 74 69 65 73 c9 | 22 26 72 65 74 75 72 6e |ntities.|"&return|
|00003110| 26 22 54 79 70 65 20 11 | 2d 2e 20 74 6f 20 68 61 |&"Type .|-. to ha|
|00003120| 6c 74 20 70 72 6f 63 65 | 73 73 69 6e 67 2e 22 2c |lt proce|ssing.",|
|00003130| 34 31 33 30 0d 72 65 70 | 65 61 74 20 77 69 74 68 |4130.rep|eat with|
|00003140| 20 69 20 3d 20 31 20 74 | 6f 20 65 6e 64 4f 70 0d | i = 1 t|o endOp.|
|00003150| 70 75 74 20 65 6e 74 32 | 48 54 4d 4c 28 63 68 61 |put ent2|HTML(cha|
|00003160| 72 20 69 20 6f 66 20 74 | 68 65 20 73 65 6c 65 63 |r i of t|he selec|
|00003170| 74 69 6f 6e 29 20 61 66 | 74 65 72 20 69 74 0d 69 |tion) af|ter it.i|
|00003180| 66 20 69 20 6d 6f 64 20 | 31 30 20 3d 20 30 20 61 |f i mod |10 = 0 a|
|00003190| 6e 64 20 76 69 7a 28 22 | 50 72 6f 67 72 65 73 73 |nd viz("|Progress|
|000031a0| 22 29 20 74 68 65 6e 20 | 73 65 74 20 74 68 65 50 |") then |set theP|
|000031b0| 65 72 63 65 6e 74 20 6f | 66 20 77 69 6e 64 6f 77 |ercent o|f window|
|000031c0| 20 22 50 72 6f 67 72 65 | 73 73 22 20 74 6f 20 28 | "Progre|ss" to (|
|000031d0| 69 2f 65 6e 64 4f 70 29 | 2a 31 30 30 0d 65 6e 64 |i/endOp)|*100.end|
|000031e0| 20 72 65 70 65 61 74 0d | 70 75 74 20 69 74 20 69 | repeat.|put it i|
|000031f0| 6e 74 6f 20 74 68 65 20 | 73 65 6c 65 63 74 69 6f |nto the |selectio|
|00003200| 6e 0d 69 66 20 76 69 7a | 28 22 50 72 6f 67 72 65 |n.if viz|("Progre|
|00003210| 73 73 22 29 20 74 68 65 | 6e 20 63 6c 6f 73 65 20 |ss") the|n close |
|00003220| 77 69 6e 64 6f 77 20 22 | 50 72 6f 67 72 65 73 73 |window "|Progress|
|00003230| 22 0d 62 69 6e 6b 0d 65 | 6e 64 20 69 66 0d 65 6e |".bink.e|nd if.en|
|00003240| 64 20 48 54 4d 4c 45 6e | 74 69 74 79 0d 0d 6f 6e |d HTMLEn|tity..on|
|00003250| 20 73 65 6c 65 63 74 45 | 6e 74 69 74 79 0d 67 6c | selectE|ntity.gl|
|00003260| 6f 62 61 6c 20 63 68 61 | 72 45 6e 74 69 74 79 4d |obal cha|rEntityM|
|00003270| 61 70 0d 69 66 20 63 68 | 61 72 45 6e 74 69 74 79 |ap.if ch|arEntity|
|00003280| 4d 61 70 20 3d 20 22 22 | 20 74 68 65 6e 20 73 65 |Map = ""| then se|
|00003290| 6e 64 20 73 65 74 45 6e | 74 69 74 69 65 73 20 74 |nd setEn|tities t|
|000032a0| 6f 20 63 64 20 69 64 20 | 32 32 39 32 20 2d 2d 20 |o cd id |2292 -- |
|000032b0| 63 72 65 61 74 65 20 65 | 6e 74 69 74 79 20 74 61 |create e|ntity ta|
|000032c0| 62 6c 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ble.if t|here is |
|000032d0| 61 20 77 69 6e 64 6f 77 | 20 22 45 6e 74 69 74 69 |a window| "Entiti|
|000032e0| 65 73 22 20 74 68 65 6e | 0d 70 75 74 20 72 6f 75 |es" then|.put rou|
|000032f0| 6e 64 28 28 69 74 65 6d | 20 31 20 6f 66 20 74 68 |nd((item| 1 of th|
|00003300| 65 20 63 6c 69 63 6b 4c | 6f 63 2d 69 74 65 6d 20 |e clickL|oc-item |
|00003310| 31 20 6f 66 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |1 of the| loc of |
|00003320| 77 69 6e 64 6f 77 20 22 | 45 6e 74 69 74 69 65 73 |window "|Entities|
|00003330| 22 29 20 64 69 76 20 32 | 34 29 2b 31 20 69 6e 74 |") div 2|4)+1 int|
|00003340| 6f 20 63 6f 6c 0d 70 75 | 74 20 72 6f 75 6e 64 28 |o col.pu|t round(|
|00003350| 28 28 28 69 74 65 6d 20 | 32 20 6f 66 20 74 68 65 |(((item |2 of the|
|00003360| 20 63 6c 69 63 6b 4c 6f | 63 29 20 2d 20 31 36 29 | clickLo|c) - 16)|
|00003370| 2d 69 74 65 6d 20 32 20 | 6f 66 20 74 68 65 20 6c |-item 2 |of the l|
|00003380| 6f 63 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 45 6e |oc of wi|ndow "En|
|00003390| 74 69 74 69 65 73 22 29 | 20 64 69 76 20 32 32 29 |tities")| div 22)|
|000033a0| 2b 31 20 69 6e 74 6f 20 | 72 6f 77 0d 69 66 20 72 |+1 into |row.if r|
|000033b0| 6f 77 20 3d 20 37 20 61 | 6e 64 20 63 6f 6c 20 3e |ow = 7 a|nd col >|
|000033c0| 20 34 20 74 68 65 6e 20 | 67 65 74 20 69 74 65 6d | 4 then |get item|
|000033d0| 20 28 63 6f 6c 2d 34 29 | 20 6f 66 20 22 26 6c 74 | (col-4)| of "<|
|000033e0| 3b 2c 26 67 74 3b 2c 26 | 61 6d 70 3b 2c 26 71 75 |;,>,&|amp;,&qu|
|000033f0| 6f 74 3b 22 0d 65 6c 73 | 65 20 67 65 74 20 65 6e |ot;".els|e get en|
|00003400| 74 32 48 54 4d 4c 28 69 | 74 65 6d 20 63 6f 6c 20 |t2HTML(i|tem col |
|00003410| 6f 66 20 6c 69 6e 65 20 | 72 6f 77 20 6f 66 20 63 |of line |row of c|
|00003420| 68 61 72 45 6e 74 69 74 | 79 4d 61 70 29 0d 69 66 |harEntit|yMap).if|
|00003430| 20 22 66 69 65 6c 64 22 | 20 69 73 20 6e 6f 74 20 | "field"| is not |
|00003440| 69 6e 20 74 68 65 20 73 | 65 6c 65 63 74 65 64 43 |in the s|electedC|
|00003450| 68 75 6e 6b 20 74 68 65 | 6e 20 70 75 74 20 69 74 |hunk the|n put it|
|00003460| 20 69 6e 74 6f 20 6d 73 | 67 0d 65 6c 73 65 20 74 | into ms|g.else t|
|00003470| 79 70 65 20 69 74 0d 65 | 6e 64 20 69 66 0d 65 6e |ype it.e|nd if.en|
|00003480| 64 20 73 65 6c 65 63 74 | 45 6e 74 69 74 79 0d 0d |d select|Entity..|
|00003490| 6f 6e 20 48 54 4d 4c 20 | 69 20 2d 2d 20 6d 6f 64 |on HTML |i -- mod|
|000034a0| 69 66 79 20 74 65 78 74 | 20 73 65 6c 65 63 74 69 |ify text| selecti|
|000034b0| 6f 6e 20 77 69 74 68 20 | 48 54 4d 4c 20 63 6f 64 |on with |HTML cod|
|000034c0| 65 73 0d 67 6c 6f 62 61 | 6c 20 68 4e 75 6d 0d 70 |es.globa|l hNum.p|
|000034d0| 75 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |ut the h|ilite of|
|000034e0| 20 63 64 20 62 74 6e 20 | 69 64 20 33 37 20 6f 66 | cd btn |id 37 of|
|000034f0| 20 63 64 20 22 70 72 65 | 66 73 22 20 69 6e 74 6f | cd "pre|fs" into|
|00003500| 20 73 74 61 79 53 65 6c | 65 63 74 65 64 0d 70 75 | staySel|ected.pu|
|00003510| 74 20 74 68 65 20 73 65 | 6c 65 63 74 65 64 43 68 |t the se|lectedCh|
|00003520| 75 6e 6b 20 69 6e 74 6f | 20 73 43 68 75 6e 6b 0d |unk into| sChunk.|
|00003530| 49 46 20 22 66 69 65 6c | 64 22 20 69 73 20 69 6e |IF "fiel|d" is in|
|00003540| 20 73 43 68 75 6e 6b 20 | 74 68 65 6e 0d 67 65 74 | sChunk |then.get|
|00003550| 20 22 22 0d 69 66 20 69 | 20 3d 20 22 42 6f 6c 64 | "".if i| = "Bold|
|00003560| 22 20 74 68 65 6e 20 67 | 65 74 20 22 3c 42 3e 2c |" then g|et "<B>,|
|00003570| 3c 2f 42 3e 2c 33 22 0d | 65 6c 73 65 20 69 66 20 |</B>,3".|else if |
|00003580| 69 20 3d 20 22 42 6c 6f | 63 6b 71 75 6f 74 65 22 |i = "Blo|ckquote"|
|00003590| 20 74 68 65 6e 20 67 65 | 74 20 22 3c 42 4c 4f 43 | then ge|t "<BLOC|
|000035a0| 4b 51 55 4f 54 45 3e 2c | 3c 2f 42 4c 4f 43 4b 51 |KQUOTE>,|</BLOCKQ|
|000035b0| 55 4f 54 45 3e 2c 31 32 | 22 0d 65 6c 73 65 20 69 |UOTE>,12|".else i|
|000035c0| 66 20 69 20 3d 20 22 43 | 69 74 61 74 69 6f 6e 22 |f i = "C|itation"|
|000035d0| 20 74 68 65 6e 20 67 65 | 74 20 22 3c 43 49 54 45 | then ge|t "<CITE|
|000035e0| 3e 2c 3c 2f 43 49 54 45 | 3e 2c 36 22 0d 65 6c 73 |>,</CITE|>,6".els|
|000035f0| 65 20 69 66 20 69 20 3d | 20 22 43 6f 6d 6d 65 6e |e if i =| "Commen|
|00003600| 74 22 20 74 68 65 6e 20 | 67 65 74 20 22 3c 21 2d |t" then |get "<!-|
|00003610| 2d 20 2c 20 3e 2c 35 22 | 0d 65 6c 73 65 20 69 66 |- , >,5"|.else if|
|00003620| 20 69 20 3d 20 22 44 65 | 66 69 6e 69 74 69 6f 6e | i = "De|finition|
|00003630| 22 20 74 68 65 6e 20 67 | 65 74 20 22 3c 44 46 4e |" then g|et "<DFN|
|00003640| 3e 2c 3c 2f 44 46 4e 3e | 2c 35 22 0d 65 6c 73 65 |>,</DFN>|,5".else|
|00003650| 20 69 66 20 69 20 3d 20 | 22 45 6d 70 68 61 73 69 | if i = |"Emphasi|
|00003660| 73 22 20 74 68 65 6e 20 | 67 65 74 20 22 3c 45 4d |s" then |get "<EM|
|00003670| 3e 2c 3c 2f 45 4d 3e 2c | 34 22 0d 65 6c 73 65 20 |>,</EM>,|4".else |
|00003680| 69 66 20 63 68 61 72 20 | 31 20 6f 66 20 69 20 3d |if char |1 of i =|
|00003690| 20 22 48 22 20 74 68 65 | 6e 0d 70 75 74 20 74 68 | "H" the|n.put th|
|000036a0| 65 20 73 65 6c 65 63 74 | 69 6f 6e 20 69 6e 74 6f |e select|ion into|
|000036b0| 20 74 68 65 54 65 78 74 | 0d 70 75 74 20 6f 66 66 | theText|.put off|
|000036c0| 73 65 74 28 22 3c 48 22 | 2c 74 68 65 54 65 78 74 |set("<H"|,theText|
|000036d0| 29 20 69 6e 74 6f 20 73 | 74 61 72 74 48 0d 70 75 |) into s|tartH.pu|
|000036e0| 74 20 6f 66 66 73 65 74 | 28 22 3c 2f 48 22 2c 74 |t offset|("</H",t|
|000036f0| 68 65 54 65 78 74 29 20 | 69 6e 74 6f 20 65 6e 64 |heText) |into end|
|00003700| 48 0d 69 66 20 73 74 61 | 72 74 48 20 ad 20 30 20 |H.if sta|rtH . 0 |
|00003710| 61 6e 64 20 65 6e 64 48 | 20 ad 20 30 20 74 68 65 |and endH| . 0 the|
|00003720| 6e 0d 70 75 74 20 68 4e | 75 6d 20 69 6e 74 6f 20 |n.put hN|um into |
|00003730| 63 68 61 72 20 28 6f 66 | 66 73 65 74 28 22 3c 48 |char (of|fset("<H|
|00003740| 22 2c 74 68 65 54 65 78 | 74 29 2b 32 29 20 6f 66 |",theTex|t)+2) of|
|00003750| 20 74 68 65 54 65 78 74 | 0d 70 75 74 20 68 4e 75 | theText|.put hNu|
|00003760| 6d 20 69 6e 74 6f 20 63 | 68 61 72 20 28 6f 66 66 |m into c|har (off|
|00003770| 73 65 74 28 22 3c 2f 48 | 22 2c 74 68 65 54 65 78 |set("</H|",theTex|
|00003780| 74 29 2b 33 29 20 6f 66 | 20 74 68 65 54 65 78 74 |t)+3) of| theText|
|00003790| 0d 70 75 74 20 74 68 65 | 54 65 78 74 20 69 6e 74 |.put the|Text int|
|000037a0| 6f 20 74 68 65 20 73 65 | 6c 65 63 74 69 6f 6e 0d |o the se|lection.|
|000037b0| 73 65 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |set the |name of |
|000037c0| 62 67 20 62 74 6e 20 69 | 64 20 37 33 20 6f 66 20 |bg btn i|d 73 of |
|000037d0| 63 64 20 31 20 6f 66 20 | 62 67 20 22 45 64 69 74 |cd 1 of |bg "Edit|
|000037e0| 6f 72 22 20 74 6f 20 22 | 48 22 26 68 4e 75 6d 0d |or" to "|H"&hNum.|
|000037f0| 69 66 20 73 74 61 79 53 | 65 6c 65 63 74 65 64 20 |if stayS|elected |
|00003800| 74 68 65 6e 0d 73 65 6c | 65 63 74 20 73 43 68 75 |then.sel|ect sChu|
|00003810| 6e 6b 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 20 67 |nk.end i|f.else g|
|00003820| 65 74 20 22 3c 48 22 26 | 68 4e 75 6d 26 22 3e 2c |et "<H"&|hNum&">,|
|00003830| 3c 2f 48 22 26 68 4e 75 | 6d 26 22 3e 2c 34 22 0d |</H"&hNu|m&">,4".|
|00003840| 65 6c 73 65 20 69 66 20 | 69 20 3d 20 22 49 74 61 |else if |i = "Ita|
|00003850| 6c 69 63 22 20 74 68 65 | 6e 20 67 65 74 20 22 3c |lic" the|n get "<|
|00003860| 49 3e 2c 3c 2f 49 3e 2c | 33 22 0d 65 6c 73 65 20 |I>,</I>,|3".else |
|00003870| 69 66 20 69 20 3d 20 22 | 4b 65 79 62 6f 61 72 64 |if i = "|Keyboard|
|00003880| 22 20 74 68 65 6e 20 67 | 65 74 20 22 3c 4b 42 44 |" then g|et "<KBD|
|00003890| 3e 2c 3c 2f 4b 42 44 3e | 2c 35 22 0d 65 6c 73 65 |>,</KBD>|,5".else|
|000038a0| 20 69 66 20 69 20 3d 20 | 22 4c 69 73 74 69 6e 67 | if i = |"Listing|
|000038b0| 22 20 74 68 65 6e 20 67 | 65 74 20 22 3c 4c 49 53 |" then g|et "<LIS|
|000038c0| 54 49 4e 47 3e 2c 3c 2f | 4c 49 53 54 49 4e 47 3e |TING>,</|LISTING>|
|000038d0| 2c 39 22 0d 65 6c 73 65 | 20 69 66 20 69 20 3d 20 |,9".else| if i = |
|000038e0| 22 43 6f 64 65 22 20 74 | 68 65 6e 20 67 65 74 20 |"Code" t|hen get |
|000038f0| 22 3c 43 4f 44 45 3e 2c | 3c 2f 43 4f 44 45 3e 2c |"<CODE>,|</CODE>,|
|00003900| 36 22 0d 65 6c 73 65 20 | 69 66 20 69 20 3d 20 22 |6".else |if i = "|
|00003910| 53 61 6d 70 6c 65 22 20 | 74 68 65 6e 20 67 65 74 |Sample" |then get|
|00003920| 20 22 3c 53 41 4d 50 3e | 2c 3c 2f 53 41 4d 50 3e | "<SAMP>|,</SAMP>|
|00003930| 2c 36 22 0d 65 6c 73 65 | 20 69 66 20 69 20 3d 20 |,6".else| if i = |
|00003940| 22 53 74 72 6f 6e 67 20 | 45 6d 70 68 61 73 69 73 |"Strong |Emphasis|
|00003950| 22 20 74 68 65 6e 20 67 | 65 74 20 22 3c 53 54 52 |" then g|et "<STR|
|00003960| 4f 4e 47 3e 2c 3c 2f 53 | 54 52 4f 4e 47 3e 2c 38 |ONG>,</S|TRONG>,8|
|00003970| 22 0d 65 6c 73 65 20 69 | 66 20 69 20 3d 20 22 53 |".else i|f i = "S|
|00003980| 74 72 69 6b 65 54 68 72 | 75 22 20 74 68 65 6e 20 |trikeThr|u" then |
|00003990| 67 65 74 20 22 3c 53 3e | 2c 3c 2f 53 3e 2c 33 22 |get "<S>|,</S>,3"|
|000039a0| 0d 65 6c 73 65 20 69 66 | 20 69 20 3d 20 22 53 75 |.else if| i = "Su|
|000039b0| 62 73 63 72 69 70 74 22 | 20 74 68 65 6e 20 67 65 |bscript"| then ge|
|000039c0| 74 20 22 3c 53 55 42 3e | 2c 3c 2f 53 55 42 3e 2c |t "<SUB>|,</SUB>,|
|000039d0| 35 22 0d 65 6c 73 65 20 | 69 66 20 69 20 3d 20 22 |5".else |if i = "|
|000039e0| 53 75 70 65 72 73 63 72 | 69 70 74 22 20 74 68 65 |Superscr|ipt" the|
|000039f0| 6e 20 67 65 74 20 22 3c | 53 55 50 3e 2c 3c 2f 53 |n get "<|SUP>,</S|
|00003a00| 55 50 3e 2c 35 22 0d 65 | 6c 73 65 20 69 66 20 69 |UP>,5".e|lse if i|
|00003a10| 20 3d 20 22 54 79 70 65 | 77 72 69 74 65 72 22 20 | = "Type|writer" |
|00003a20| 74 68 65 6e 20 67 65 74 | 20 22 3c 54 54 3e 2c 3c |then get| "<TT>,<|
|00003a30| 2f 54 54 3e 2c 34 22 0d | 65 6c 73 65 20 69 66 20 |/TT>,4".|else if |
|00003a40| 69 20 3d 20 22 50 72 65 | 66 6f 72 6d 61 74 74 65 |i = "Pre|formatte|
|00003a50| 64 22 20 74 68 65 6e 20 | 67 65 74 20 22 3c 50 52 |d" then |get "<PR|
|00003a60| 45 3e 2c 3c 2f 50 52 45 | 3e 2c 35 22 0d 65 6c 73 |E>,</PRE|>,5".els|
|00003a70| 65 20 69 66 20 69 20 3d | 20 22 54 69 74 6c 65 22 |e if i =| "Title"|
|00003a80| 20 74 68 65 6e 20 67 65 | 74 20 22 3c 54 49 54 4c | then ge|t "<TITL|
|00003a90| 45 3e 2c 3c 2f 54 49 54 | 4c 45 3e 2c 37 22 0d 65 |E>,</TIT|LE>,7".e|
|00003aa0| 6c 73 65 20 69 66 20 69 | 20 3d 20 22 55 6e 64 65 |lse if i| = "Unde|
|00003ab0| 72 6c 69 6e 65 22 20 74 | 68 65 6e 20 67 65 74 20 |rline" t|hen get |
|00003ac0| 22 3c 55 3e 2c 3c 2f 55 | 3e 2c 33 22 0d 65 6c 73 |"<U>,</U|>,3".els|
|00003ad0| 65 20 69 66 20 69 20 3d | 20 22 56 61 72 69 61 62 |e if i =| "Variab|
|00003ae0| 6c 65 22 20 74 68 65 6e | 20 67 65 74 20 22 3c 56 |le" then| get "<V|
|00003af0| 41 52 3e 2c 3c 2f 56 41 | 52 3e 2c 35 22 0d 69 66 |AR>,</VA|R>,5".if|
|00003b00| 20 69 74 20 ad 20 22 22 | 20 74 68 65 6e 20 2d 2d | it . ""| then --|
|00003b10| 20 66 6f 75 6e 64 20 63 | 6f 64 65 2c 20 73 6f 20 | found c|ode, so |
|00003b20| 6d 6f 64 69 66 79 20 74 | 65 78 74 3a 0d 69 66 20 |modify t|ext:.if |
|00003b30| 6c 65 6e 67 74 68 28 74 | 68 65 20 73 65 6c 65 63 |length(t|he selec|
|00003b40| 74 69 6f 6e 29 20 3d 20 | 30 20 74 68 65 6e 0d 73 |tion) = |0 then.s|
|00003b50| 65 6c 65 63 74 20 73 43 | 68 75 6e 6b 0d 70 75 74 |elect sC|hunk.put|
|00003b60| 20 77 6f 72 64 20 32 20 | 6f 66 20 73 43 68 75 6e | word 2 |of sChun|
|00003b70| 6b 20 2b 20 69 74 65 6d | 20 33 20 6f 66 20 69 74 |k + item| 3 of it|
|00003b80| 20 69 6e 74 6f 20 63 0d | 70 75 74 20 69 74 65 6d | into c.|put item|
|00003b90| 20 31 20 6f 66 20 69 74 | 20 62 65 66 6f 72 65 20 | 1 of it| before |
|00003ba0| 74 68 65 20 73 65 6c 65 | 63 74 69 6f 6e 0d 70 75 |the sele|ction.pu|
|00003bb0| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 69 74 20 61 |t item 2| of it a|
|00003bc0| 66 74 65 72 20 74 68 65 | 20 73 65 6c 65 63 74 69 |fter the| selecti|
|00003bd0| 6f 6e 0d 69 66 20 73 74 | 61 79 53 65 6c 65 63 74 |on.if st|aySelect|
|00003be0| 65 64 20 74 68 65 6e 0d | 73 65 6c 65 63 74 20 63 |ed then.|select c|
|00003bf0| 68 61 72 20 28 63 29 20 | 74 6f 20 28 63 20 2d 20 |har (c) |to (c - |
|00003c00| 31 29 20 6f 66 20 66 6c | 64 20 28 6c 61 73 74 20 |1) of fl|d (last |
|00003c10| 77 6f 72 64 20 6f 66 20 | 73 43 68 75 6e 6b 29 0d |word of |sChunk).|
|00003c20| 65 6e 64 20 69 66 0d 65 | 6c 73 65 0d 70 75 74 20 |end if.e|lse.put |
|00003c30| 69 74 65 6d 20 31 20 6f | 66 20 69 74 20 62 65 66 |item 1 o|f it bef|
|00003c40| 6f 72 65 20 74 68 65 20 | 73 65 6c 65 63 74 69 6f |ore the |selectio|
|00003c50| 6e 0d 70 75 74 20 69 74 | 65 6d 20 32 20 6f 66 20 |n.put it|em 2 of |
|00003c60| 69 74 20 61 66 74 65 72 | 20 74 68 65 20 73 65 6c |it after| the sel|
|00003c70| 65 63 74 69 6f 6e 0d 69 | 66 20 73 74 61 79 53 65 |ection.i|f staySe|
|00003c80| 6c 65 63 74 65 64 20 74 | 68 65 6e 0d 61 64 64 20 |lected t|hen.add |
|00003c90| 69 74 65 6d 20 33 20 6f | 66 20 69 74 20 74 6f 20 |item 3 o|f it to |
|00003ca0| 77 6f 72 64 20 32 20 6f | 66 20 73 43 68 75 6e 6b |word 2 o|f sChunk|
|00003cb0| 0d 61 64 64 20 69 74 65 | 6d 20 33 20 6f 66 20 69 |.add ite|m 3 of i|
|00003cc0| 74 20 74 6f 20 77 6f 72 | 64 20 34 20 6f 66 20 73 |t to wor|d 4 of s|
|00003cd0| 43 68 75 6e 6b 0d 73 65 | 6c 65 63 74 20 73 43 68 |Chunk.se|lect sCh|
|00003ce0| 75 6e 6b 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |unk.end |if.end i|
|00003cf0| 66 0d 65 6e 64 20 69 66 | 0d 45 4e 44 20 49 46 0d |f.end if|.END IF.|
|00003d00| 65 6e 64 20 48 54 4d 4c | 0d 0d 6f 6e 20 48 54 4d |end HTML|..on HTM|
|00003d10| 4c 47 6c 6f 73 73 61 72 | 79 0d 69 66 20 65 6d 70 |LGlossar|y.if emp|
|00003d20| 74 79 53 65 6c 65 63 74 | 69 6f 6e 28 29 20 74 68 |tySelect|ion() th|
|00003d30| 65 6e 20 65 78 69 74 20 | 48 54 4d 4c 47 6c 6f 73 |en exit |HTMLGlos|
|00003d40| 73 61 72 79 0d 70 75 74 | 20 74 68 65 20 73 65 6c |sary.put| the sel|
|00003d50| 65 63 74 69 6f 6e 20 69 | 6e 74 6f 20 74 68 65 54 |ection i|nto theT|
|00003d60| 65 78 74 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |ext.put |the numb|
|00003d70| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 74 |er of li|nes of t|
|00003d80| 68 65 54 65 78 74 20 69 | 6e 74 6f 20 6e 0d 69 66 |heText i|nto n.if|
|00003d90| 20 6e 20 6d 6f 64 20 32 | 20 ad 20 30 20 74 68 65 | n mod 2| . 0 the|
|00003da0| 6e 0d 61 6e 73 77 65 72 | 20 22 48 54 4d 4c 20 45 |n.answer| "HTML E|
|00003db0| 52 52 4f 52 3a 22 26 72 | 65 74 75 72 6e 26 22 54 |RROR:"&r|eturn&"T|
|00003dc0| 68 65 20 74 65 78 74 20 | 73 65 6c 65 63 74 69 6f |he text |selectio|
|00003dd0| 6e 20 66 6f 72 20 61 6e | 20 48 54 4d 4c 20 47 6c |n for an| HTML Gl|
|00003de0| 6f 73 73 61 72 79 20 6d | 75 73 74 20 62 65 20 61 |ossary m|ust be a|
|00003df0| 6e 20 65 76 65 6e 20 6e | 75 6d 62 65 72 20 22 26 |n even n|umber "&|
|00003e00| c2 0d 22 6f 66 20 6c 69 | 6e 65 73 2e 20 54 68 65 |.."of li|nes. The|
|00003e10| 20 66 69 72 73 74 20 6c | 69 6e 65 20 6f 66 20 65 | first l|ine of e|
|00003e20| 61 63 68 20 70 61 69 72 | 20 69 73 20 74 68 65 20 |ach pair| is the |
|00003e30| 74 65 72 6d 2c 20 74 68 | 65 20 73 65 63 6f 6e 64 |term, th|e second|
|00003e40| 20 6c 69 6e 65 20 69 73 | 20 74 68 65 20 64 65 66 | line is| the def|
|00003e50| 69 6e 69 74 69 6f 6e 2e | 22 0d 65 6c 73 65 0d 72 |inition.|".else.r|
|00003e60| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00003e70| 20 74 6f 20 6e 0d 69 66 | 20 69 20 6d 6f 64 20 32 | to n.if| i mod 2|
|00003e80| 20 69 73 20 30 20 74 68 | 65 6e 20 6e 65 78 74 20 | is 0 th|en next |
|00003e90| 72 65 70 65 61 74 0d 70 | 75 74 20 22 3c 44 54 3e |repeat.p|ut "<DT>|
|00003ea0| 22 20 62 65 66 6f 72 65 | 20 6c 69 6e 65 20 69 20 |" before| line i |
|00003eb0| 6f 66 20 74 68 65 54 65 | 78 74 0d 65 6e 64 20 72 |of theTe|xt.end r|
|00003ec0| 65 70 65 61 74 0d 72 65 | 70 65 61 74 20 77 69 74 |epeat.re|peat wit|
|00003ed0| 68 20 69 20 3d 20 31 20 | 74 6f 20 6e 0d 69 66 20 |h i = 1 |to n.if |
|00003ee0| 69 20 6d 6f 64 20 32 20 | 69 73 20 31 20 74 68 65 |i mod 2 |is 1 the|
|00003ef0| 6e 20 6e 65 78 74 20 72 | 65 70 65 61 74 0d 70 75 |n next r|epeat.pu|
|00003f00| 74 20 22 3c 44 44 3e 22 | 20 62 65 66 6f 72 65 20 |t "<DD>"| before |
|00003f10| 6c 69 6e 65 20 69 20 6f | 66 20 74 68 65 54 65 78 |line i o|f theTex|
|00003f20| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 69 66 20 |t.end re|peat.if |
|00003f30| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 74 68 65 |last cha|r of the|
|00003f40| 54 65 78 74 20 ad 20 72 | 65 74 75 72 6e 20 74 68 |Text . r|eturn th|
|00003f50| 65 6e 20 70 75 74 20 72 | 65 74 75 72 6e 20 61 66 |en put r|eturn af|
|00003f60| 74 65 72 20 74 68 65 54 | 65 78 74 0d 70 75 74 20 |ter theT|ext.put |
|00003f70| 22 3c 44 4c 3e 22 26 72 | 65 74 75 72 6e 26 74 68 |"<DL>"&r|eturn&th|
|00003f80| 65 54 65 78 74 26 22 3c | 2f 44 4c 3e 22 26 72 65 |eText&"<|/DL>"&re|
|00003f90| 74 75 72 6e 20 69 6e 74 | 6f 20 74 68 65 20 73 65 |turn int|o the se|
|00003fa0| 6c 65 63 74 69 6f 6e 0d | 65 6e 64 20 69 66 0d 65 |lection.|end if.e|
|00003fb0| 6e 64 20 48 54 4d 4c 47 | 6c 6f 73 73 61 72 79 0d |nd HTMLG|lossary.|
|00003fc0| 0d 6f 6e 20 48 54 4d 4c | 49 6d 61 67 65 0d 70 75 |.on HTML|Image.pu|
|00003fd0| 74 20 74 68 65 20 73 65 | 6c 65 63 74 65 64 43 68 |t the se|lectedCh|
|00003fe0| 75 6e 6b 20 69 6e 74 6f | 20 73 43 68 75 6e 6b 0d |unk into| sChunk.|
|00003ff0| 69 66 20 22 66 69 65 6c | 64 22 20 69 73 20 69 6e |if "fiel|d" is in|
|00004000| 20 73 43 68 75 6e 6b 20 | 74 68 65 6e 0d 69 66 20 | sChunk |then.if |
|00004010| 74 68 65 20 73 65 6c 65 | 63 74 69 6f 6e 20 ad 20 |the sele|ction . |
|00004020| 22 22 20 74 68 65 6e 20 | 67 65 74 20 74 68 65 20 |"" then |get the |
|00004030| 73 65 6c 65 63 74 69 6f | 6e 20 65 6c 73 65 20 67 |selectio|n else g|
|00004040| 65 74 20 22 22 0d 70 75 | 74 20 22 4e 6f 6e 65 2c |et "".pu|t "None,|
|00004050| 54 6f 70 2c 42 6f 74 74 | 6f 6d 22 20 69 6e 74 6f |Top,Bott|om" into|
|00004060| 20 74 68 65 4d 65 6e 75 | 0d 73 68 6f 77 44 69 61 | theMenu|.showDia|
|00004070| 6c 6f 67 20 34 2c 34 37 | 34 35 2c 22 55 52 4c 3a |log 4,47|45,"URL:|
|00004080| 22 2c 22 41 6c 74 65 72 | 6e 61 74 69 76 65 20 54 |","Alter|native T|
|00004090| 65 78 74 3a 22 2c 69 74 | 2c 74 68 65 4d 65 6e 75 |ext:",it|,theMenu|
|000040a0| 2c 31 2c 67 59 28 35 34 | 29 2c 67 58 28 32 32 31 |,1,gY(54|),gX(221|
|000040b0| 29 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |).if the| result |
|000040c0| 3d 20 22 22 20 74 68 65 | 6e 20 65 78 69 74 20 48 |= "" the|n exit H|
|000040d0| 54 4d 4c 49 6d 61 67 65 | 0d 65 6c 73 65 20 69 66 |TMLImage|.else if|
|000040e0| 20 6c 69 6e 65 20 32 20 | 6f 66 20 74 68 65 20 72 | line 2 |of the r|
|000040f0| 65 73 75 6c 74 20 3d 20 | 22 22 20 74 68 65 6e 0d |esult = |"" then.|
|00004100| 61 6e 73 77 65 72 20 22 | 59 6f 75 20 6d 75 73 74 |answer "|You must|
|00004110| 20 65 6e 74 65 72 20 61 | 20 55 52 4c 20 66 6f 72 | enter a| URL for|
|00004120| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 74 | this fu|nction t|
|00004130| 6f 20 77 6f 72 6b 2e 22 | 0d 65 78 69 74 20 48 54 |o work."|.exit HT|
|00004140| 4d 4c 49 6d 61 67 65 0d | 65 6c 73 65 20 70 75 74 |MLImage.|else put|
|00004150| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 6e 74 6f | the res|ult into|
|00004160| 20 74 68 65 52 65 73 75 | 6c 74 0d 0d 69 66 20 63 | theResu|lt..if c|
|00004170| 68 61 72 20 31 20 6f 66 | 20 74 68 65 52 65 73 75 |har 1 of| theResu|
|00004180| 6c 74 20 ad 20 31 20 74 | 68 65 6e 0d 70 75 74 20 |lt . 1 t|hen.put |
|00004190| 73 70 61 63 65 26 22 41 | 4c 49 47 4e 3d 22 26 71 |space&"A|LIGN="&q|
|000041a0| 75 6f 74 65 26 69 74 65 | 6d 20 28 63 68 61 72 20 |uote&ite|m (char |
|000041b0| 31 20 6f 66 20 74 68 65 | 52 65 73 75 6c 74 29 20 |1 of the|Result) |
|000041c0| 6f 66 20 74 68 65 4d 65 | 6e 75 26 71 75 6f 74 65 |of theMe|nu"e|
|000041d0| 20 69 6e 74 6f 20 74 68 | 65 41 6c 69 67 6e 0d 65 | into th|eAlign.e|
|000041e0| 6c 73 65 20 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |lse put |"" into |
|000041f0| 74 68 65 41 6c 69 67 6e | 0d 0d 69 66 20 6c 69 6e |theAlign|..if lin|
|00004200| 65 20 32 20 6f 66 20 74 | 68 65 52 65 73 75 6c 74 |e 2 of t|heResult|
|00004210| 20 ad 20 22 22 20 74 68 | 65 6e 0d 70 75 74 20 73 | . "" th|en.put s|
|00004220| 70 61 63 65 26 22 53 52 | 43 3d 22 26 71 75 6f 74 |pace&"SR|C=""|
|00004230| 65 26 72 65 70 28 6c 69 | 6e 65 20 32 20 6f 66 20 |e&rep(li|ne 2 of |
|00004240| 74 68 65 52 65 73 75 6c | 74 2c 22 3a 22 2c 22 2f |theResul|t,":","/|
|00004250| 22 29 26 71 75 6f 74 65 | 20 69 6e 74 6f 20 74 68 |")"e| into th|
|00004260| 65 53 6f 75 72 63 65 0d | 70 75 74 20 72 65 70 28 |eSource.|put rep(|
|00004270| 74 68 65 53 6f 75 72 63 | 65 2c 22 68 74 74 70 2f |theSourc|e,"http/|
|00004280| 22 2c 22 68 74 74 70 3a | 22 29 20 69 6e 74 6f 20 |","http:|") into |
|00004290| 74 68 65 53 6f 75 72 63 | 65 0d 65 6c 73 65 20 70 |theSourc|e.else p|
|000042a0| 75 74 20 22 22 20 69 6e | 74 6f 20 74 68 65 53 6f |ut "" in|to theSo|
|000042b0| 75 72 63 65 0d 0d 69 66 | 20 6c 69 6e 65 20 33 20 |urce..if| line 3 |
|000042c0| 6f 66 20 74 68 65 52 65 | 73 75 6c 74 20 ad 20 22 |of theRe|sult . "|
|000042d0| 22 20 74 68 65 6e 0d 70 | 75 74 20 73 70 61 63 65 |" then.p|ut space|
|000042e0| 26 22 41 4c 54 3d 22 26 | 71 75 6f 74 65 26 72 65 |&"ALT="&|quote&re|
|000042f0| 70 28 6c 69 6e 65 20 33 | 20 6f 66 20 74 68 65 52 |p(line 3| of theR|
|00004300| 65 73 75 6c 74 2c 72 65 | 74 75 72 6e 29 26 71 75 |esult,re|turn)&qu|
|00004310| 6f 74 65 20 69 6e 74 6f | 20 74 68 65 43 6f 6d 6d |ote into| theComm|
|00004320| 65 6e 74 0d 65 6c 73 65 | 20 70 75 74 20 22 22 20 |ent.else| put "" |
|00004330| 69 6e 74 6f 20 74 68 65 | 43 6f 6d 6d 65 6e 74 0d |into the|Comment.|
|00004340| 0d 67 65 74 20 22 3c 49 | 4d 47 22 26 74 68 65 41 |.get "<I|MG"&theA|
|00004350| 6c 69 67 6e 26 74 68 65 | 53 6f 75 72 63 65 26 74 |lign&the|Source&t|
|00004360| 68 65 43 6f 6d 6d 65 6e | 74 26 22 3e 22 0d 69 66 |heCommen|t&">".if|
|00004370| 20 74 68 65 20 73 65 6c | 65 63 74 69 6f 6e 20 3d | the sel|ection =|
|00004380| 20 22 22 20 74 68 65 6e | 20 64 6f 20 22 70 75 74 | "" then| do "put|
|00004390| 20 69 74 20 61 66 74 65 | 72 22 26 26 73 43 68 75 | it afte|r"&&sChu|
|000043a0| 6e 6b 0d 65 6c 73 65 20 | 64 6f 20 22 70 75 74 20 |nk.else |do "put |
|000043b0| 69 74 20 69 6e 74 6f 22 | 26 26 73 43 68 75 6e 6b |it into"|&&sChunk|
|000043c0| 0d 65 6c 73 65 20 61 6e | 73 77 65 72 20 22 59 6f |.else an|swer "Yo|
|000043d0| 75 20 6d 75 73 74 20 73 | 65 6c 65 63 74 20 73 6f |u must s|elect so|
|000043e0| 6d 65 20 74 65 78 74 20 | 6f 72 20 70 6c 61 63 65 |me text |or place|
|000043f0| 20 74 68 65 20 69 6e 73 | 65 72 74 69 6f 6e 20 70 | the ins|ertion p|
|00004400| 6f 69 6e 74 20 69 6e 74 | 6f 20 61 6e 20 65 64 69 |oint int|o an edi|
|00004410| 74 6f 72 20 66 69 65 6c | 64 20 66 6f 72 20 74 68 |tor fiel|d for th|
|00004420| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 74 6f 20 77 |is funct|ion to w|
|00004430| 6f 72 6b 2e 22 20 77 69 | 74 68 20 22 43 61 6e 63 |ork." wi|th "Canc|
|00004440| 65 6c 22 0d 65 6e 64 20 | 48 54 4d 4c 49 6d 61 67 |el".end |HTMLImag|
|00004450| 65 0d 0d 6f 6e 20 48 54 | 4d 4c 4c 69 6e 6b 0d 67 |e..on HT|MLLink.g|
|00004460| 6c 6f 62 61 6c 20 74 68 | 65 55 52 4c 0d 70 75 74 |lobal th|eURL.put|
|00004470| 20 74 68 65 20 73 65 6c | 65 63 74 69 6f 6e 20 69 | the sel|ection i|
|00004480| 6e 74 6f 20 74 68 65 54 | 65 78 74 0d 70 75 74 20 |nto theT|ext.put |
|00004490| 74 68 65 20 73 65 6c 65 | 63 74 65 64 43 68 75 6e |the sele|ctedChun|
|000044a0| 6b 20 69 6e 74 6f 20 73 | 43 68 75 6e 6b 0d 49 46 |k into s|Chunk.IF|
|000044b0| 20 22 62 6b 67 6e 64 20 | 66 69 65 6c 64 20 31 31 | "bkgnd |field 11|
|000044c0| 22 20 69 73 20 69 6e 20 | 73 43 68 75 6e 6b 20 74 |" is in |sChunk t|
|000044d0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 43 72 65 61 |hen.answ|er "Crea|
|000044e0| 74 65 20 48 79 70 65 72 | 54 65 78 74 20 4c 69 6e |te Hyper|Text Lin|
|000044f0| 6b c9 22 26 72 65 74 75 | 72 6e 26 72 65 74 75 72 |k."&retu|rn&retur|
|00004500| 6e 26 22 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |n&"This |function|
|00004510| 20 63 61 6e 6e 6f 74 20 | 75 73 65 20 74 68 65 20 | cannot |use the |
|00004520| 55 52 4c 20 66 69 65 6c | 64 20 61 73 20 61 20 74 |URL fiel|d as a t|
|00004530| 65 78 74 20 73 65 6c 65 | 63 74 69 6f 6e 2e 22 0d |ext sele|ction.".|
|00004540| 45 4c 53 45 20 49 46 20 | 22 66 69 65 6c 64 22 20 |ELSE IF |"field" |
|00004550| 69 73 20 6e 6f 74 20 69 | 6e 20 73 43 68 75 6e 6b |is not i|n sChunk|
|00004560| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 59 6f | then.an|swer "Yo|
|00004570| 75 20 6d 75 73 74 20 65 | 69 74 68 65 72 20 73 65 |u must e|ither se|
|00004580| 6c 65 63 74 20 73 6f 6d | 65 20 74 65 78 74 20 6f |lect som|e text o|
|00004590| 72 20 70 6c 61 63 65 20 | 74 68 65 20 69 6e 73 65 |r place |the inse|
|000045a0| 72 74 69 6f 6e 20 70 6f | 69 6e 74 20 69 6e 20 61 |rtion po|int in a|
|000045b0| 6e 20 65 64 69 74 6f 72 | 20 66 69 65 6c 64 20 66 |n editor| field f|
|000045c0| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|000045d0| 20 74 6f 20 77 6f 72 6b | 2e 22 20 77 69 74 68 20 | to work|." with |
|000045e0| 22 43 61 6e 63 65 6c 22 | 0d 45 4c 53 45 0d 69 66 |"Cancel"|.ELSE.if|
|000045f0| 20 6c 65 6e 67 74 68 28 | 74 68 65 54 65 78 74 29 | length(|theText)|
|00004600| 20 3e 20 37 30 20 74 68 | 65 6e 20 67 65 74 20 72 | > 70 th|en get r|
|00004610| 65 70 28 63 68 61 72 20 | 31 20 74 6f 20 37 30 20 |ep(char |1 to 70 |
|00004620| 6f 66 20 74 68 65 54 65 | 78 74 2c 72 65 74 75 72 |of theTe|xt,retur|
|00004630| 6e 2c 22 2f 22 29 26 22 | c9 22 20 65 6c 73 65 20 |n,"/")&"|." else |
|00004640| 67 65 74 20 72 65 70 28 | 74 68 65 54 65 78 74 2c |get rep(|theText,|
|00004650| 72 65 74 75 72 6e 2c 22 | 2f 22 29 0d 73 68 6f 77 |return,"|/").show|
|00004660| 44 69 61 6c 6f 67 20 32 | 2c 34 37 34 33 2c 22 55 |Dialog 2|,4743,"U|
|00004670| 52 4c 3a 22 2c 22 d2 22 | 26 69 74 26 22 d3 22 2c |RL:","."|&it&".",|
|00004680| 22 22 2c 46 41 4c 53 45 | 2c 67 59 28 35 34 29 2c |"",FALSE|,gY(54),|
|00004690| 67 58 28 32 32 31 29 0d | 67 65 74 20 74 68 65 20 |gX(221).|get the |
|000046a0| 72 65 73 75 6c 74 0d 69 | 66 20 69 74 20 3d 20 22 |result.i|f it = "|
|000046b0| 22 20 74 68 65 6e 20 65 | 78 69 74 20 48 54 4d 4c |" then e|xit HTML|
|000046c0| 4c 69 6e 6b 0d 65 6c 73 | 65 20 69 66 20 28 6c 69 |Link.els|e if (li|
|000046d0| 6e 65 20 31 20 6f 66 20 | 69 74 29 20 74 68 65 6e |ne 1 of |it) then|
|000046e0| 20 2d 2d 20 75 73 65 20 | 55 52 4c 20 66 69 65 6c | -- use |URL fiel|
|000046f0| 64 0d 70 75 74 20 6f 66 | 66 73 65 74 28 22 68 79 |d.put of|fset("hy|
|00004700| 70 65 72 54 65 78 74 22 | 2c 74 68 65 55 52 4c 29 |perText"|,theURL)|
|00004710| 20 69 6e 74 6f 20 65 6e | 64 41 6e 63 68 6f 72 0d | into en|dAnchor.|
|00004720| 69 66 20 74 68 65 55 52 | 4c 20 3d 20 22 22 20 74 |if theUR|L = "" t|
|00004730| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 45 52 52 4f |hen.answ|er "ERRO|
|00004740| 52 20 4f 4e 20 43 52 45 | 41 54 49 4e 47 20 4c 49 |R ON CRE|ATING LI|
|00004750| 4e 4b 3a 22 26 72 65 74 | 75 72 6e 26 22 54 68 65 |NK:"&ret|urn&"The|
|00004760| 20 55 52 4c 20 66 69 65 | 6c 64 20 69 73 20 65 6d | URL fie|ld is em|
|00004770| 70 74 79 2e 20 55 73 65 | 20 74 68 65 20 55 52 4c |pty. Use| the URL|
|00004780| 20 70 6f 70 55 70 20 6d | 65 6e 75 20 6f 72 20 6d | popUp m|enu or m|
|00004790| 61 6e 75 61 6c 6c 79 20 | 74 6f 22 26 26 c2 0d 22 |anually |to"&&.."|
|000047a0| 65 6e 74 65 72 20 61 20 | 55 52 4c 20 77 69 74 68 |enter a |URL with|
|000047b0| 20 74 68 65 20 77 6f 72 | 64 20 d2 68 79 70 65 72 | the wor|d .hyper|
|000047c0| 54 65 78 74 d3 20 61 73 | 20 74 68 65 20 68 6f 74 |Text. as| the hot|
|000047d0| 20 74 65 78 74 2e 22 20 | 77 69 74 68 20 22 43 61 | text." |with "Ca|
|000047e0| 6e 63 65 6c 22 0d 65 6c | 73 65 20 69 66 20 65 6e |ncel".el|se if en|
|000047f0| 64 41 6e 63 68 6f 72 20 | 3d 20 30 20 74 68 65 6e |dAnchor |= 0 then|
|00004800| 0d 61 6e 73 77 65 72 20 | 22 45 52 52 4f 52 20 4f |.answer |"ERROR O|
|00004810| 4e 20 43 52 45 41 54 49 | 4e 47 20 4c 49 4e 4b 3a |N CREATI|NG LINK:|
|00004820| 22 26 72 65 74 75 72 6e | 26 22 54 68 65 20 74 65 |"&return|&"The te|
|00004830| 78 74 20 70 61 72 73 65 | 72 20 66 61 69 6c 65 64 |xt parse|r failed|
|00004840| 20 74 6f 20 66 69 6e 64 | 20 74 68 65 20 77 6f 72 | to find| the wor|
|00004850| 64 22 26 26 c2 0d 22 d2 | 68 79 70 65 72 54 65 78 |d"&&..".|hyperTex|
|00004860| 74 d3 20 69 6e 20 74 68 | 65 20 55 52 4c 20 74 65 |t. in th|e URL te|
|00004870| 78 74 20 66 69 65 6c 64 | 2e 20 49 74 20 75 73 65 |xt field|. It use|
|00004880| 73 20 74 68 69 73 20 77 | 6f 72 64 20 74 6f 20 73 |s this w|ord to s|
|00004890| 75 62 73 74 69 74 75 74 | 65 20 74 68 65 20 63 75 |ubstitut|e the cu|
|000048a0| 72 72 65 6e 74 20 73 65 | 6c 65 63 74 69 6f 6e 20 |rrent se|lection |
|000048b0| 69 6e 20 2e 79 6f 75 72 | 20 64 6f 63 75 6d 65 6e |in .your| documen|
|000048c0| 74 20 61 73 20 74 68 65 | 20 68 6f 74 20 74 65 78 |t as the| hot tex|
|000048d0| 74 20 66 6f 72 20 74 68 | 69 73 20 6c 69 6e 6b 2e |t for th|is link.|
|000048e0| 22 20 77 69 74 68 20 22 | 43 61 6e 63 65 6c 22 0d |" with "|Cancel".|
|000048f0| 65 6c 73 65 0d 64 6f 20 | 22 73 65 6c 65 63 74 22 |else.do |"select"|
|00004900| 26 26 73 43 68 75 6e 6b | 0d 70 75 74 20 63 68 61 |&&sChunk|.put cha|
|00004910| 72 20 31 20 74 6f 20 28 | 65 6e 64 41 6e 63 68 6f |r 1 to (|endAncho|
|00004920| 72 2d 31 29 20 6f 66 20 | 74 68 65 55 52 4c 26 74 |r-1) of |theURL&t|
|00004930| 68 65 54 65 78 74 26 22 | 3c 2f 41 3e 22 20 69 6e |heText&"|</A>" in|
|00004940| 74 6f 20 74 68 65 20 73 | 65 6c 65 63 74 69 6f 6e |to the s|election|
|00004950| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 20 69 66 20 |.end if.|else if |
|00004960| 6c 69 6e 65 20 32 20 6f | 66 20 69 74 20 ad 20 22 |line 2 o|f it . "|
|00004970| 22 20 74 68 65 6e 0d 64 | 6f 20 22 73 65 6c 65 63 |" then.d|o "selec|
|00004980| 74 22 26 26 73 43 68 75 | 6e 6b 0d 70 75 74 20 22 |t"&&sChu|nk.put "|
|00004990| 3c 41 20 48 52 45 46 3d | 22 26 71 75 6f 74 65 26 |<A HREF=|""e&|
|000049a0| 6c 69 6e 65 20 32 20 6f | 66 20 69 74 26 71 75 6f |line 2 o|f it&quo|
|000049b0| 74 65 26 22 3e 22 26 74 | 68 65 54 65 78 74 26 22 |te&">"&t|heText&"|
|000049c0| 3c 2f 41 3e 22 20 69 6e | 74 6f 20 74 68 65 20 73 |</A>" in|to the s|
|000049d0| 65 6c 65 63 74 69 6f 6e | 0d 65 6c 73 65 20 61 6e |election|.else an|
|000049e0| 73 77 65 72 20 22 59 6f | 75 20 6d 75 73 74 20 65 |swer "Yo|u must e|
|000049f0| 69 74 68 65 72 20 74 79 | 70 65 20 61 20 55 52 4c |ither ty|pe a URL|
|00004a00| 20 69 6e 20 74 68 65 20 | 65 6e 74 72 79 20 62 6f | in the |entry bo|
|00004a10| 78 20 6f 72 20 63 68 65 | 63 6b 20 74 68 65 20 d4 |x or che|ck the .|
|00004a20| 55 73 65 20 55 52 4c 20 | 66 69 65 6c 64 20 69 6e |Use URL |field in|
|00004a30| 73 74 65 61 64 20 6f 66 | 20 65 6e 74 72 79 2e d5 |stead of| entry..|
|00004a40| 20 63 68 65 63 6b 62 6f | 78 20 61 6e 64 20 68 61 | checkbo|x and ha|
|00004a50| 76 65 20 61 6e 20 65 6e | 74 72 79 20 69 6e 20 74 |ve an en|try in t|
|00004a60| 68 65 20 55 52 4c 20 66 | 69 65 6c 64 20 66 6f 72 |he URL f|ield for|
|00004a70| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 74 | this fu|nction t|
|00004a80| 6f 20 77 6f 72 6b 2e 22 | 20 77 69 74 68 20 22 43 |o work."| with "C|
|00004a90| 61 6e 63 65 6c 22 0d 45 | 4e 44 20 49 46 0d 65 6e |ancel".E|ND IF.en|
|00004aa0| 64 20 48 54 4d 4c 4c 69 | 6e 6b 0d 0d 6f 6e 20 48 |d HTMLLi|nk..on H|
|00004ab0| 54 4d 4c 4c 69 73 74 20 | 74 61 67 0d 70 75 74 20 |TMLList |tag.put |
|00004ac0| 74 68 65 20 73 65 6c 65 | 63 74 69 6f 6e 20 69 6e |the sele|ction in|
|00004ad0| 74 6f 20 74 68 65 54 65 | 78 74 0d 72 65 70 65 61 |to theTe|xt.repea|
|00004ae0| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00004af0| 6e 75 6d 62 65 72 28 6c | 69 6e 65 73 20 6f 66 20 |number(l|ines of |
|00004b00| 74 68 65 54 65 78 74 29 | 0d 70 75 74 20 22 3c 4c |theText)|.put "<L|
|00004b10| 49 3e 22 20 62 65 66 6f | 72 65 20 6c 69 6e 65 20 |I>" befo|re line |
|00004b20| 69 20 6f 66 20 74 68 65 | 54 65 78 74 0d 65 6e 64 |i of the|Text.end|
|00004b30| 20 72 65 70 65 61 74 0d | 69 66 20 6c 61 73 74 20 | repeat.|if last |
|00004b40| 63 68 61 72 20 6f 66 20 | 74 68 65 54 65 78 74 20 |char of |theText |
|00004b50| ad 20 72 65 74 75 72 6e | 20 74 68 65 6e 20 70 75 |. return| then pu|
|00004b60| 74 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 74 |t return| after t|
|00004b70| 68 65 54 65 78 74 0d 70 | 75 74 20 22 3c 22 26 74 |heText.p|ut "<"&t|
|00004b80| 61 67 26 22 3e 22 26 72 | 65 74 75 72 6e 26 74 68 |ag&">"&r|eturn&th|
|00004b90| 65 54 65 78 74 26 22 3c | 2f 22 26 74 61 67 26 22 |eText&"<|/"&tag&"|
|00004ba0| 3e 22 20 69 6e 74 6f 20 | 74 68 65 20 73 65 6c 65 |>" into |the sele|
|00004bb0| 63 74 69 6f 6e 0d 65 6e | 64 20 48 54 4d 4c 4c 69 |ction.en|d HTMLLi|
|00004bc0| 73 74 0d 0d 6f 6e 20 48 | 54 4d 4c 4e 61 6d 65 64 |st..on H|TMLNamed|
|00004bd0| 41 6e 63 68 6f 72 0d 69 | 66 20 65 6d 70 74 79 53 |Anchor.i|f emptyS|
|00004be0| 65 6c 65 63 74 69 6f 6e | 28 29 20 74 68 65 6e 20 |election|() then |
|00004bf0| 65 78 69 74 20 48 54 4d | 4c 4e 61 6d 65 64 41 6e |exit HTM|LNamedAn|
|00004c00| 63 68 6f 72 0d 65 6c 73 | 65 20 70 75 74 20 74 68 |chor.els|e put th|
|00004c10| 65 20 73 65 6c 65 63 74 | 69 6f 6e 20 69 6e 74 6f |e select|ion into|
|00004c20| 20 74 68 65 54 65 78 74 | 0d 61 73 6b 20 22 45 6e | theText|.ask "En|
|00004c30| 74 65 72 20 74 68 65 20 | 6e 61 6d 65 20 66 6f 72 |ter the |name for|
|00004c40| 20 74 68 69 73 20 4e 61 | 6d 65 64 20 41 6e 63 68 | this Na|med Anch|
|00004c50| 6f 72 3a 22 0d 69 66 20 | 69 74 20 3d 20 22 22 20 |or:".if |it = "" |
|00004c60| 74 68 65 6e 20 65 78 69 | 74 20 48 54 4d 4c 4e 61 |then exi|t HTMLNa|
|00004c70| 6d 65 64 41 6e 63 68 6f | 72 0d 65 6c 73 65 20 70 |medAncho|r.else p|
|00004c80| 75 74 20 22 3c 41 20 4e | 41 4d 45 3d 22 26 71 75 |ut "<A N|AME="&qu|
|00004c90| 6f 74 65 26 69 74 26 71 | 75 6f 74 65 26 22 3e 22 |ote&it&q|uote&">"|
|00004ca0| 26 74 68 65 54 65 78 74 | 26 22 3c 2f 41 3e 22 20 |&theText|&"</A>" |
|00004cb0| 69 6e 74 6f 20 74 68 65 | 20 73 65 6c 65 63 74 69 |into the| selecti|
|00004cc0| 6f 6e 0d 65 6e 64 20 48 | 54 4d 4c 4e 61 6d 65 64 |on.end H|TMLNamed|
|00004cd0| 41 6e 63 68 6f 72 0d 0d | 6f 6e 20 63 6f 6e 76 65 |Anchor..|on conve|
|00004ce0| 72 74 50 61 72 61 67 72 | 61 70 68 0d 69 66 20 65 |rtParagr|aph.if e|
|00004cf0| 6d 70 74 79 53 65 6c 65 | 63 74 69 6f 6e 28 29 20 |mptySele|ction() |
|00004d00| 74 68 65 6e 20 65 78 69 | 74 20 63 6f 6e 76 65 72 |then exi|t conver|
|00004d10| 74 50 61 72 61 67 72 61 | 70 68 0d 65 6c 73 65 20 |tParagra|ph.else |
|00004d20| 70 75 74 20 74 68 65 20 | 73 65 6c 65 63 74 69 6f |put the |selectio|
|00004d30| 6e 20 69 6e 74 6f 20 74 | 68 65 54 65 78 74 0d 73 |n into t|heText.s|
|00004d40| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00004d50| 63 68 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 72 |ch.lock |screen.r|
|00004d60| 65 70 65 61 74 20 77 68 | 69 6c 65 20 6f 66 66 73 |epeat wh|ile offs|
|00004d70| 65 74 28 72 65 74 75 72 | 6e 26 72 65 74 75 72 6e |et(retur|n&return|
|00004d80| 2c 74 68 65 54 65 78 74 | 29 20 ad 20 30 0d 70 75 |,theText|) . 0.pu|
|00004d90| 74 20 72 65 70 28 74 68 | 65 54 65 78 74 2c 72 65 |t rep(th|eText,re|
|00004da0| 74 75 72 6e 26 72 65 74 | 75 72 6e 2c 72 65 74 75 |turn&ret|urn,retu|
|00004db0| 72 6e 29 20 69 6e 74 6f | 20 74 68 65 54 65 78 74 |rn) into| theText|
|00004dc0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|00004dd0| 72 65 70 28 74 68 65 54 | 65 78 74 2c 72 65 74 75 |rep(theT|ext,retu|
|00004de0| 72 6e 2c 22 3c 50 3e 22 | 26 72 65 74 75 72 6e 26 |rn,"<P>"|&return&|
|00004df0| 72 65 74 75 72 6e 29 20 | 69 6e 74 6f 20 74 68 65 |return) |into the|
|00004e00| 54 65 78 74 0d 70 75 74 | 20 74 68 65 54 65 78 74 |Text.put| theText|
|00004e10| 20 69 6e 74 6f 20 74 68 | 65 20 73 65 6c 65 63 74 | into th|e select|
|00004e20| 69 6f 6e 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |ion.unlo|ck scree|
|00004e30| 6e 0d 65 6e 64 20 63 6f | 6e 76 65 72 74 50 61 72 |n.end co|nvertPar|
|00004e40| 61 67 72 61 70 68 0d 0d | 6f 6e 20 72 65 70 6c 61 |agraph..|on repla|
|00004e50| 63 65 54 65 78 74 0d 67 | 6c 6f 62 61 6c 20 73 72 |ceText.g|lobal sr|
|00004e60| 63 0d 69 66 20 74 68 65 | 20 73 65 6c 65 63 74 69 |c.if the| selecti|
|00004e70| 6f 6e 20 ad 20 22 22 20 | 74 68 65 6e 20 70 75 74 |on . "" |then put|
|00004e80| 20 74 68 65 20 73 65 6c | 65 63 74 69 6f 6e 20 69 | the sel|ection i|
|00004e90| 6e 74 6f 20 73 72 63 0d | 73 68 6f 77 44 69 61 6c |nto src.|showDial|
|00004ea0| 6f 67 20 32 2c 34 37 34 | 36 2c 22 53 65 61 72 63 |og 2,474|6,"Searc|
|00004eb0| 68 20 66 6f 72 3a 22 2c | 22 52 65 70 6c 61 63 65 |h for:",|"Replace|
|00004ec0| 20 77 69 74 68 3a 22 2c | 73 72 63 2c 46 41 4c 53 | with:",|src,FALS|
|00004ed0| 45 2c 67 59 28 35 30 29 | 2c 67 58 28 32 32 32 29 |E,gY(50)|,gX(222)|
|00004ee0| 0d 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.get the| result.|
|00004ef0| 69 66 20 69 74 20 3d 20 | 22 22 20 6f 72 20 6c 69 |if it = |"" or li|
|00004f00| 6e 65 20 32 20 6f 66 20 | 69 74 20 3d 20 22 22 20 |ne 2 of |it = "" |
|00004f10| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 6c 61 63 |then exi|t replac|
|00004f20| 65 54 65 78 74 0d 70 75 | 74 20 6c 69 6e 65 20 32 |eText.pu|t line 2|
|00004f30| 20 6f 66 20 69 74 20 69 | 6e 74 6f 20 73 72 63 0d | of it i|nto src.|
|00004f40| 70 75 74 20 6c 69 6e 65 | 20 33 20 6f 66 20 69 74 |put line| 3 of it|
|00004f50| 20 69 6e 74 6f 20 72 70 | 6c 63 0d 69 66 20 28 69 | into rp|lc.if (i|
|00004f60| 74 65 6d 20 31 20 6f 66 | 20 6c 69 6e 65 20 31 20 |tem 1 of| line 1 |
|00004f70| 6f 66 20 69 74 29 20 74 | 68 65 6e 20 2d 2d 20 6d |of it) t|hen -- m|
|00004f80| 69 6e 69 47 52 45 50 0d | 70 75 74 20 72 65 70 28 |iniGREP.|put rep(|
|00004f90| 73 72 63 2c 22 5c 72 22 | 2c 72 65 74 75 72 6e 29 |src,"\r"|,return)|
|00004fa0| 20 69 6e 74 6f 20 73 72 | 63 0d 70 75 74 20 72 65 | into sr|c.put re|
|00004fb0| 70 28 73 72 63 2c 22 5c | 74 22 2c 74 61 62 29 20 |p(src,"\|t",tab) |
|00004fc0| 69 6e 74 6f 20 73 72 63 | 0d 70 75 74 20 72 65 70 |into src|.put rep|
|00004fd0| 28 73 72 63 2c 22 5c 6e | 22 2c 72 65 74 75 72 6e |(src,"\n|",return|
|00004fe0| 26 6e 75 6d 54 6f 43 68 | 61 72 28 31 30 29 29 20 |&numToCh|ar(10)) |
|00004ff0| 69 6e 74 6f 20 73 72 63 | 0d 70 75 74 20 72 65 70 |into src|.put rep|
|00005000| 28 72 70 6c 63 2c 22 5c | 72 22 2c 72 65 74 75 72 |(rplc,"\|r",retur|
|00005010| 6e 29 20 69 6e 74 6f 20 | 72 70 6c 63 0d 70 75 74 |n) into |rplc.put|
|00005020| 20 72 65 70 28 72 70 6c | 63 2c 22 5c 74 22 2c 74 | rep(rpl|c,"\t",t|
|00005030| 61 62 29 20 69 6e 74 6f | 20 72 70 6c 63 0d 70 75 |ab) into| rplc.pu|
|00005040| 74 20 72 65 70 28 72 70 | 6c 63 2c 22 5c 6e 22 2c |t rep(rp|lc,"\n",|
|00005050| 72 65 74 75 72 6e 26 6e | 75 6d 54 6f 43 68 61 72 |return&n|umToChar|
|00005060| 28 31 30 29 29 20 69 6e | 74 6f 20 72 70 6c 63 0d |(10)) in|to rplc.|
|00005070| 65 6e 64 20 69 66 0d 69 | 66 20 28 69 74 65 6d 20 |end if.i|f (item |
|00005080| 32 20 6f 66 20 6c 69 6e | 65 20 31 20 6f 66 20 69 |2 of lin|e 1 of i|
|00005090| 74 29 20 74 68 65 6e 20 | 2d 2d 20 67 6c 6f 62 61 |t) then |-- globa|
|000050a0| 6c 20 72 65 70 6c 61 63 | 65 0d 6c 6f 63 6b 20 6d |l replac|e.lock m|
|000050b0| 65 73 73 61 67 65 73 0d | 70 75 73 68 20 63 64 0d |essages.|push cd.|
|000050c0| 70 75 74 20 6e 75 6d 62 | 65 72 28 63 64 73 20 6f |put numb|er(cds o|
|000050d0| 66 20 62 67 20 22 45 64 | 69 74 6f 72 22 29 20 69 |f bg "Ed|itor") i|
|000050e0| 6e 74 6f 20 65 6e 64 4f | 70 0d 69 66 20 65 6e 64 |nto endO|p.if end|
|000050f0| 4f 70 20 3e 20 35 0d 74 | 68 65 6e 20 70 72 6f 67 |Op > 5.t|hen prog|
|00005100| 72 65 73 73 57 69 6e 64 | 6f 77 20 22 a9 44 6f 6d |ressWind|ow ".Dom|
|00005110| 65 22 2c 22 50 72 6f 67 | 72 65 73 73 22 2c 22 47 |e","Prog|ress","G|
|00005120| 6c 6f 62 61 6c 6c 79 20 | 72 65 70 6c 61 63 69 6e |lobally |replacin|
|00005130| 67 20 74 65 78 74 c9 22 | 26 72 65 74 75 72 6e 26 |g text."|&return&|
|00005140| c2 0d 22 54 79 70 65 20 | 11 2d 2e 20 74 6f 20 68 |.."Type |.-. to h|
|00005150| 61 6c 74 20 70 72 6f 63 | 65 73 73 69 6e 67 2e 22 |alt proc|essing."|
|00005160| 2c 34 31 33 30 0d 72 65 | 70 65 61 74 20 77 69 74 |,4130.re|peat wit|
|00005170| 68 20 63 20 3d 20 31 20 | 74 6f 20 65 6e 64 4f 70 |h c = 1 |to endOp|
|00005180| 0d 67 6f 20 63 64 20 63 | 20 6f 66 20 62 67 20 22 |.go cd c| of bg "|
|00005190| 45 64 69 74 6f 72 22 0d | 72 65 70 65 61 74 20 77 |Editor".|repeat w|
|000051a0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 33 0d 70 |ith i = |1 to 3.p|
|000051b0| 75 74 20 72 65 70 28 66 | 6c 64 20 69 64 20 69 2c |ut rep(f|ld id i,|
|000051c0| 73 72 63 2c 72 70 6c 63 | 29 20 69 6e 74 6f 20 66 |src,rplc|) into f|
|000051d0| 6c 64 20 69 64 20 69 0d | 65 6e 64 20 72 65 70 65 |ld id i.|end repe|
|000051e0| 61 74 0d 69 66 20 76 69 | 7a 28 22 50 72 6f 67 72 |at.if vi|z("Progr|
|000051f0| 65 73 73 22 29 20 74 68 | 65 6e 20 73 65 74 20 74 |ess") th|en set t|
|00005200| 68 65 50 65 72 63 65 6e | 74 20 6f 66 20 77 69 6e |hePercen|t of win|
|00005210| 64 6f 77 20 22 50 72 6f | 67 72 65 73 73 22 20 74 |dow "Pro|gress" t|
|00005220| 6f 20 28 69 2f 65 6e 64 | 4f 70 29 2a 31 30 30 20 |o (i/end|Op)*100 |
|00005230| 65 6c 73 65 20 62 7a 0d | 65 6e 64 20 72 65 70 65 |else bz.|end repe|
|00005240| 61 74 0d 70 6f 70 20 63 | 64 0d 62 69 6e 6b 0d 65 |at.pop c|d.bink.e|
|00005250| 6c 73 65 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |lse.repe|at with |
|00005260| 69 20 3d 20 31 20 74 6f | 20 33 0d 70 75 74 20 72 |i = 1 to| 3.put r|
|00005270| 65 70 28 66 6c 64 20 69 | 64 20 69 2c 73 72 63 2c |ep(fld i|d i,src,|
|00005280| 72 70 6c 63 29 20 69 6e | 74 6f 20 66 6c 64 20 69 |rplc) in|to fld i|
|00005290| 64 20 69 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |d i.end |repeat.e|
|000052a0| 6e 64 20 69 66 0d 62 69 | 6e 6b 0d 65 6e 64 20 72 |nd if.bi|nk.end r|
|000052b0| 65 70 6c 61 63 65 54 65 | 78 74 0d 0d 6f 6e 20 74 |eplaceTe|xt..on t|
|000052c0| 61 62 6c 65 43 6f 6e 76 | 65 72 74 0d 69 66 20 65 |ableConv|ert.if e|
|000052d0| 6d 70 74 79 53 65 6c 65 | 63 74 69 6f 6e 28 29 20 |mptySele|ction() |
|000052e0| 74 68 65 6e 20 65 78 69 | 74 20 74 61 62 6c 65 43 |then exi|t tableC|
|000052f0| 6f 6e 76 65 72 74 0d 73 | 65 74 20 63 75 72 73 6f |onvert.s|et curso|
|00005300| 72 20 74 6f 20 77 61 74 | 63 68 0d 70 75 74 20 74 |r to wat|ch.put t|
|00005310| 68 65 20 73 65 6c 65 63 | 74 69 6f 6e 20 69 6e 74 |he selec|tion int|
|00005320| 6f 20 74 68 65 54 65 78 | 74 0d 70 75 74 20 63 64 |o theTex|t.put cd|
|00005330| 20 66 6c 64 20 69 64 20 | 32 37 20 6f 66 20 63 64 | fld id |27 of cd|
|00005340| 20 22 70 72 65 66 73 22 | 20 69 6e 74 6f 20 73 6f | "prefs"| into so|
|00005350| 75 72 63 65 43 68 61 72 | 73 0d 70 75 74 20 63 64 |urceChar|s.put cd|
|00005360| 20 66 6c 64 20 69 64 20 | 32 38 20 6f 66 20 63 64 | fld id |28 of cd|
|00005370| 20 22 70 72 65 66 73 22 | 20 69 6e 74 6f 20 72 65 | "prefs"| into re|
|00005380| 70 6c 61 63 65 43 68 61 | 72 73 0d 70 75 74 20 6e |placeCha|rs.put n|
|00005390| 75 6d 62 65 72 28 6c 69 | 6e 65 73 20 69 6e 20 73 |umber(li|nes in s|
|000053a0| 6f 75 72 63 65 43 68 61 | 72 73 29 20 69 6e 74 6f |ourceCha|rs) into|
|000053b0| 20 65 6e 64 4f 70 0d 72 | 65 70 65 61 74 20 77 69 | endOp.r|epeat wi|
|000053c0| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 65 6e 64 4f |th i = 1| to endO|
|000053d0| 70 0d 67 65 74 20 63 68 | 61 72 20 31 20 6f 66 20 |p.get ch|ar 1 of |
|000053e0| 6c 69 6e 65 20 69 20 6f | 66 20 73 6f 75 72 63 65 |line i o|f source|
|000053f0| 43 68 61 72 73 0d 69 66 | 20 69 74 20 3d 20 72 65 |Chars.if| it = re|
|00005400| 74 75 72 6e 20 74 68 65 | 6e 20 6e 65 78 74 20 72 |turn the|n next r|
|00005410| 65 70 65 61 74 0d 65 6c | 73 65 20 69 66 20 69 74 |epeat.el|se if it|
|00005420| 20 ad 20 22 22 20 74 68 | 65 6e 0d 70 75 74 20 6c | . "" th|en.put l|
|00005430| 69 6e 65 20 69 20 6f 66 | 20 72 65 70 6c 61 63 65 |ine i of| replace|
|00005440| 43 68 61 72 73 20 69 6e | 74 6f 20 72 0d 69 66 20 |Chars in|to r.if |
|00005450| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 72 20 3d |last cha|r of r =|
|00005460| 20 72 65 74 75 72 6e 20 | 74 68 65 6e 20 64 65 6c | return |then del|
|00005470| 65 74 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |ete last| char of|
|00005480| 20 72 0d 70 75 74 20 72 | 65 70 28 74 68 65 54 65 | r.put r|ep(theTe|
|00005490| 78 74 2c 69 74 2c 72 29 | 20 69 6e 74 6f 20 74 68 |xt,it,r)| into th|
|000054a0| 65 54 65 78 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |eText.en|d if.end|
|000054b0| 20 72 65 70 65 61 74 0d | 70 75 74 20 74 68 65 54 | repeat.|put theT|
|000054c0| 65 78 74 20 69 6e 74 6f | 20 74 68 65 20 73 65 6c |ext into| the sel|
|000054d0| 65 63 74 69 6f 6e 0d 62 | 69 6e 6b 0d 65 6e 64 20 |ection.b|ink.end |
|000054e0| 74 61 62 6c 65 43 6f 6e | 76 65 72 74 0d 0d 6f 6e |tableCon|vert..on|
|000054f0| 20 73 65 74 4c 46 20 6d | 6f 64 65 0d 73 65 74 20 | setLF m|ode.set |
|00005500| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00005510| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 75 74 20 |lock scr|een.put |
|00005520| 6e 75 6d 54 6f 43 68 61 | 72 28 31 30 29 20 69 6e |numToCha|r(10) in|
|00005530| 74 6f 20 4c 46 0d 72 65 | 70 65 61 74 20 77 69 74 |to LF.re|peat wit|
|00005540| 68 20 69 20 3d 20 31 20 | 74 6f 20 33 0d 69 66 20 |h i = 1 |to 3.if |
|00005550| 6d 6f 64 65 20 74 68 65 | 6e 0d 70 75 74 20 72 65 |mode the|n.put re|
|00005560| 70 28 66 6c 64 20 69 64 | 20 69 2c 72 65 74 75 72 |p(fld id| i,retur|
|00005570| 6e 2c 72 65 74 75 72 6e | 26 4c 46 29 20 69 6e 74 |n,return|&LF) int|
|00005580| 6f 20 66 6c 64 20 69 64 | 20 69 0d 69 66 20 63 68 |o fld id| i.if ch|
|00005590| 61 72 20 31 20 6f 66 20 | 66 6c 64 20 69 64 20 69 |ar 1 of |fld id i|
|000055a0| 20 ad 20 4c 46 20 74 68 | 65 6e 0d 70 75 74 20 4c | . LF th|en.put L|
|000055b0| 46 20 62 65 66 6f 72 65 | 20 66 6c 64 20 69 64 20 |F before| fld id |
|000055c0| 69 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 20 70 75 |i.end if|.else pu|
|000055d0| 74 20 72 65 70 28 66 6c | 64 20 69 64 20 69 2c 4c |t rep(fl|d id i,L|
|000055e0| 46 29 20 69 6e 74 6f 20 | 66 6c 64 20 69 64 20 69 |F) into |fld id i|
|000055f0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 75 6e 6c 6f |.end rep|eat.unlo|
|00005600| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 73 65 |ck scree|n.end se|
|00005610| 74 4c 46 0d 0d 6f 6e 20 | 75 6e 77 72 61 70 0d 69 |tLF..on |unwrap.i|
|00005620| 66 20 65 6d 70 74 79 53 | 65 6c 65 63 74 69 6f 6e |f emptyS|election|
|00005630| 28 29 20 74 68 65 6e 20 | 65 78 69 74 20 75 6e 77 |() then |exit unw|
|00005640| 72 61 70 0d 65 6c 73 65 | 20 70 75 74 20 74 68 65 |rap.else| put the|
|00005650| 20 73 65 6c 65 63 74 69 | 6f 6e 20 69 6e 74 6f 20 | selecti|on into |
|00005660| 74 68 65 54 65 78 74 0d | 73 65 74 20 63 75 72 73 |theText.|set curs|
|00005670| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 6c 6f 63 6b |or to wa|tch.lock|
|00005680| 20 73 63 72 65 65 6e 0d | 70 75 74 20 72 65 70 28 | screen.|put rep(|
|00005690| 74 68 65 54 65 78 74 2c | 72 65 74 75 72 6e 26 72 |theText,|return&r|
|000056a0| 65 74 75 72 6e 2c 22 a6 | 22 29 20 69 6e 74 6f 20 |eturn,".|") into |
|000056b0| 74 68 65 54 65 78 74 0d | 70 75 74 20 72 65 70 28 |theText.|put rep(|
|000056c0| 74 68 65 54 65 78 74 2c | 72 65 74 75 72 6e 2c 22 |theText,|return,"|
|000056d0| 20 22 29 20 69 6e 74 6f | 20 74 68 65 54 65 78 74 | ") into| theText|
|000056e0| 0d 70 75 74 20 72 65 70 | 28 74 68 65 54 65 78 74 |.put rep|(theText|
|000056f0| 2c 22 a6 22 2c 72 65 74 | 75 72 6e 29 20 69 6e 74 |,".",ret|urn) int|
|00005700| 6f 20 74 68 65 54 65 78 | 74 0d 70 75 74 20 74 68 |o theTex|t.put th|
|00005710| 65 54 65 78 74 20 69 6e | 74 6f 20 74 68 65 20 73 |eText in|to the s|
|00005720| 65 6c 65 63 74 69 6f 6e | 0d 75 6e 6c 6f 63 6b 20 |election|.unlock |
|00005730| 73 63 72 65 65 6e 0d 62 | 69 6e 6b 0d 65 6e 64 20 |screen.b|ink.end |
|00005740| 75 6e 77 72 61 70 0d 0d | 6f 6e 20 44 65 48 54 4d |unwrap..|on DeHTM|
|00005750| 4c 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 69 66 |L.lock s|creen.if|
|00005760| 20 65 6d 70 74 79 53 65 | 6c 65 63 74 69 6f 6e 28 | emptySe|lection(|
|00005770| 29 20 74 68 65 6e 20 65 | 78 69 74 20 44 65 48 54 |) then e|xit DeHT|
|00005780| 4d 4c 0d 65 6c 73 65 20 | 70 75 74 20 74 68 65 20 |ML.else |put the |
|00005790| 73 65 6c 65 63 74 69 6f | 6e 20 69 6e 74 6f 20 74 |selectio|n into t|
|000057a0| 68 65 54 65 78 74 0d 70 | 75 74 20 22 48 54 4d 4c |heText.p|ut "HTML|
|000057b0| 2c 48 45 41 44 2c 54 49 | 54 4c 45 2c 42 4f 44 59 |,HEAD,TI|TLE,BODY|
|000057c0| 2c 48 31 2c 48 32 2c 48 | 33 2c 48 34 2c 48 35 2c |,H1,H2,H|3,H4,H5,|
|000057d0| 48 36 2c 42 2c 49 2c 54 | 54 2c 55 2c 53 2c 53 55 |H6,B,I,T|T,U,S,SU|
|000057e0| 50 2c 53 55 42 2c 43 4f | 44 45 2c 43 49 54 45 2c |P,SUB,CO|DE,CITE,|
|000057f0| 44 46 4e 2c 45 4d 2c 53 | 54 52 4f 4e 47 2c 22 26 |DFN,EM,S|TRONG,"&|
|00005800| c2 0d 22 4b 42 44 2c 53 | 41 4d 50 2c 56 41 52 2c |.."KBD,S|AMP,VAR,|
|00005810| 45 4d 2c 53 54 52 4f 4e | 47 2c 43 49 54 45 2c 54 |EM,STRON|G,CITE,T|
|00005820| 54 2c 50 52 45 2c 50 4c | 41 49 4e 54 45 58 54 2c |T,PRE,PL|AINTEXT,|
|00005830| 41 44 44 52 45 53 53 2c | 42 4c 4f 43 4b 51 55 4f |ADDRESS,|BLOCKQUO|
|00005840| 54 45 2c 55 4c 2c 44 49 | 52 2c 44 4c 2c 4c 49 53 |TE,UL,DI|R,DL,LIS|
|00005850| 54 49 4e 47 2c 4d 45 4e | 55 2c 4f 4c 22 20 69 6e |TING,MEN|U,OL" in|
|00005860| 74 6f 20 63 6f 64 65 4c | 69 73 74 0d 70 75 74 20 |to codeL|ist.put |
|00005870| 6e 75 6d 62 65 72 28 69 | 74 65 6d 73 20 69 6e 20 |number(i|tems in |
|00005880| 63 6f 64 65 4c 69 73 74 | 29 20 69 6e 74 6f 20 65 |codeList|) into e|
|00005890| 6e 64 4f 70 0d 70 72 6f | 67 72 65 73 73 57 69 6e |ndOp.pro|gressWin|
|000058a0| 64 6f 77 20 22 a9 44 6f | 6d 65 22 2c 22 50 72 6f |dow ".Do|me","Pro|
|000058b0| 67 72 65 73 73 22 2c 22 | 52 65 6d 6f 76 69 6e 67 |gress","|Removing|
|000058c0| 20 48 54 4d 4c 20 43 6f | 64 65 73 c9 22 26 72 65 | HTML Co|des."&re|
|000058d0| 74 75 72 6e 26 22 54 79 | 70 65 20 11 2d 2e 20 74 |turn&"Ty|pe .-. t|
|000058e0| 6f 20 68 61 6c 74 20 70 | 72 6f 63 65 73 73 69 6e |o halt p|rocessin|
|000058f0| 67 2e 22 2c 34 31 33 30 | 0d 72 65 70 65 61 74 20 |g.",4130|.repeat |
|00005900| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 65 6e |with i =| 1 to en|
|00005910| 64 4f 70 0d 62 7a 0d 67 | 65 74 20 69 74 65 6d 20 |dOp.bz.g|et item |
|00005920| 69 20 6f 66 20 63 6f 64 | 65 4c 69 73 74 0d 70 75 |i of cod|eList.pu|
|00005930| 74 20 72 65 70 28 74 68 | 65 54 65 78 74 2c 22 3c |t rep(th|eText,"<|
|00005940| 22 26 69 74 26 22 3e 22 | 29 20 69 6e 74 6f 20 74 |"&it&">"|) into t|
|00005950| 68 65 54 65 78 74 0d 70 | 75 74 20 72 65 70 28 74 |heText.p|ut rep(t|
|00005960| 68 65 54 65 78 74 2c 22 | 3c 2f 22 26 69 74 26 22 |heText,"|</"&it&"|
|00005970| 3e 22 29 20 69 6e 74 6f | 20 74 68 65 54 65 78 74 |>") into| theText|
|00005980| 0d 69 66 20 76 69 7a 28 | 22 50 72 6f 67 72 65 73 |.if viz(|"Progres|
|00005990| 73 22 29 20 74 68 65 6e | 20 73 65 74 20 74 68 65 |s") then| set the|
|000059a0| 50 65 72 63 65 6e 74 20 | 6f 66 20 77 69 6e 64 6f |Percent |of windo|
|000059b0| 77 20 22 50 72 6f 67 72 | 65 73 73 22 20 74 6f 20 |w "Progr|ess" to |
|000059c0| 28 69 2f 65 6e 64 4f 70 | 29 2a 31 30 30 20 65 6c |(i/endOp|)*100 el|
|000059d0| 73 65 20 62 7a 0d 65 6e | 64 20 72 65 70 65 61 74 |se bz.en|d repeat|
|000059e0| 0d 70 75 74 20 72 65 70 | 28 74 68 65 54 65 78 74 |.put rep|(theText|
|000059f0| 2c 22 3c 50 3e 22 29 20 | 69 6e 74 6f 20 74 68 65 |,"<P>") |into the|
|00005a00| 54 65 78 74 0d 70 75 74 | 20 72 65 70 28 74 68 65 |Text.put| rep(the|
|00005a10| 54 65 78 74 2c 22 3c 4c | 49 3e 22 29 20 69 6e 74 |Text,"<L|I>") int|
|00005a20| 6f 20 74 68 65 54 65 78 | 74 0d 62 7a 0d 70 75 74 |o theTex|t.bz.put|
|00005a30| 20 72 65 70 28 74 68 65 | 54 65 78 74 2c 22 3c 48 | rep(the|Text,"<H|
|00005a40| 52 3e 22 29 20 69 6e 74 | 6f 20 74 68 65 54 65 78 |R>") int|o theTex|
|00005a50| 74 0d 70 75 74 20 72 65 | 70 28 74 68 65 54 65 78 |t.put re|p(theTex|
|00005a60| 74 2c 22 3c 42 52 3e 22 | 29 20 69 6e 74 6f 20 74 |t,"<BR>"|) into t|
|00005a70| 68 65 54 65 78 74 0d 62 | 7a 0d 70 75 74 20 72 65 |heText.b|z.put re|
|00005a80| 70 28 74 68 65 54 65 78 | 74 2c 22 3c 44 54 3e 22 |p(theTex|t,"<DT>"|
|00005a90| 29 20 69 6e 74 6f 20 74 | 68 65 54 65 78 74 0d 70 |) into t|heText.p|
|00005aa0| 75 74 20 72 65 70 28 74 | 68 65 54 65 78 74 2c 22 |ut rep(t|heText,"|
|00005ab0| 3c 44 44 3e 22 29 20 69 | 6e 74 6f 20 74 68 65 54 |<DD>") i|nto theT|
|00005ac0| 65 78 74 0d 69 66 20 76 | 69 7a 28 22 50 72 6f 67 |ext.if v|iz("Prog|
|00005ad0| 72 65 73 73 22 29 20 74 | 68 65 6e 20 63 6c 6f 73 |ress") t|hen clos|
|00005ae0| 65 20 77 69 6e 64 6f 77 | 20 22 50 72 6f 67 72 65 |e window| "Progre|
|00005af0| 73 73 22 0d 70 75 74 20 | 74 68 65 54 65 78 74 20 |ss".put |theText |
|00005b00| 69 6e 74 6f 20 74 68 65 | 20 73 65 6c 65 63 74 69 |into the| selecti|
|00005b10| 6f 6e 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |on.unloc|k screen|
|00005b20| 0d 65 6e 64 20 44 65 48 | 54 4d 4c 0d 0d 66 75 6e |.end DeH|TML..fun|
|00005b30| 63 74 69 6f 6e 20 64 65 | 6c 65 74 65 48 54 4d 4c |ction de|leteHTML|
|00005b40| 20 65 6e 64 43 6f 64 65 | 2c 66 6c 64 49 44 20 2d | endCode|,fldID -|
|00005b50| 2d 20 65 78 2e 20 28 22 | 3c 42 4f 44 59 3e 22 2c |- ex. ("|<BODY>",|
|00005b60| 31 32 33 29 0d 2d 2d 20 | 67 69 76 65 6e 20 3c 58 |123).-- |given <X|
|00005b70| 3e 2c 20 64 65 6c 65 74 | 65 20 61 6c 6c 20 6f 63 |>, delet|e all oc|
|00005b80| 63 20 69 6e 20 48 42 46 | 20 6f 66 20 3c 58 3e 20 |c in HBF| of <X> |
|00005b90| 26 20 3c 2f 58 3e 2c 20 | 72 65 74 75 72 6e 73 20 |& </X>, |returns |
|00005ba0| 54 52 55 45 20 69 66 20 | 63 68 61 6e 67 65 73 0d |TRUE if |changes.|
|00005bb0| 67 65 74 20 46 41 4c 53 | 45 0d 70 75 74 20 65 6e |get FALS|E.put en|
|00005bc0| 64 43 6f 64 65 20 69 6e | 74 6f 20 73 74 61 72 74 |dCode in|to start|
|00005bd0| 43 6f 64 65 0d 70 75 74 | 20 22 2f 22 20 61 66 74 |Code.put| "/" aft|
|00005be0| 65 72 20 63 68 61 72 20 | 31 20 6f 66 20 65 6e 64 |er char |1 of end|
|00005bf0| 43 6f 64 65 0d 72 65 70 | 65 61 74 20 77 69 74 68 |Code.rep|eat with|
|00005c00| 20 6b 20 3d 20 31 20 74 | 6f 20 6c 65 6e 67 74 68 | k = 1 t|o length|
|00005c10| 28 66 6c 64 49 44 29 0d | 70 75 74 20 63 68 61 72 |(fldID).|put char|
|00005c20| 20 6b 20 6f 66 20 66 6c | 64 49 44 20 69 6e 74 6f | k of fl|dID into|
|00005c30| 20 69 0d 69 66 20 73 74 | 61 72 74 43 6f 64 65 20 | i.if st|artCode |
|00005c40| 69 73 20 69 6e 20 66 6c | 64 20 69 64 20 69 20 6f |is in fl|d id i o|
|00005c50| 72 20 65 6e 64 43 6f 64 | 65 20 69 73 20 69 6e 20 |r endCod|e is in |
|00005c60| 66 6c 64 20 69 64 20 69 | 20 74 68 65 6e 20 67 65 |fld id i| then ge|
|00005c70| 74 20 54 52 55 45 0d 70 | 75 74 20 72 65 70 28 66 |t TRUE.p|ut rep(f|
|00005c80| 6c 64 20 69 64 20 69 2c | 73 74 61 72 74 43 6f 64 |ld id i,|startCod|
|00005c90| 65 29 20 69 6e 74 6f 20 | 66 6c 64 20 69 64 20 69 |e) into |fld id i|
|00005ca0| 0d 70 75 74 20 72 65 70 | 28 66 6c 64 20 69 64 20 |.put rep|(fld id |
|00005cb0| 69 2c 65 6e 64 43 6f 64 | 65 29 20 69 6e 74 6f 20 |i,endCod|e) into |
|00005cc0| 66 6c 64 20 69 64 20 69 | 0d 65 6e 64 20 72 65 70 |fld id i|.end rep|
|00005cd0| 65 61 74 0d 72 65 74 75 | 72 6e 20 69 74 0d 65 6e |eat.retu|rn it.en|
|00005ce0| 64 20 64 65 6c 65 74 65 | 48 54 4d 4c 0d 0d 6f 6e |d delete|HTML..on|
|00005cf0| 20 70 72 6f 63 45 72 72 | 6f 72 20 6d 73 67 0d 61 | procErr|or msg.a|
|00005d00| 6e 73 77 65 72 20 22 48 | 54 4d 4c 20 53 59 4e 54 |nswer "H|TML SYNT|
|00005d10| 41 58 20 45 52 52 4f 52 | 3a 22 26 72 65 74 75 72 |AX ERROR|:"&retur|
|00005d20| 6e 26 6d 73 67 26 72 65 | 74 75 72 6e 26 72 65 74 |n&msg&re|turn&ret|
|00005d30| 75 72 6e 26 22 54 68 65 | 20 74 65 78 74 20 70 61 |urn&"The| text pa|
|00005d40| 72 73 65 72 20 77 69 6c | 6c 20 6e 6f 74 20 70 72 |rser wil|l not pr|
|00005d50| 6f 63 65 73 73 20 74 68 | 69 73 20 48 54 4d 4c 20 |ocess th|is HTML |
|00005d60| 63 6f 64 65 2e 22 20 77 | 69 74 68 20 22 43 6f 6e |code." w|ith "Con|
|00005d70| 74 69 6e 75 65 22 0d 65 | 78 69 74 20 74 6f 20 48 |tinue".e|xit to H|
|00005d80| 79 70 65 72 43 61 72 64 | 0d 65 6e 64 20 70 72 6f |yperCard|.end pro|
|00005d90| 63 45 72 72 6f 72 0d 0d | 2d 2d 20 a5 20 66 75 6e |cError..|-- . fun|
|00005da0| 63 74 69 6f 6e 73 0d 0d | 66 75 6e 63 74 69 6f 6e |ctions..|function|
|00005db0| 20 74 72 69 6d 20 69 0d | 72 65 70 65 61 74 0d 69 | trim i.|repeat.i|
|00005dc0| 66 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 69 |f last c|har of i|
|00005dd0| 20 3d 20 72 65 74 75 72 | 6e 20 6f 72 20 6c 61 73 | = retur|n or las|
|00005de0| 74 20 63 68 61 72 20 6f | 66 20 69 20 3d 20 73 70 |t char o|f i = sp|
|00005df0| 61 63 65 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |ace then| delete |
|00005e00| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 69 0d 65 |last cha|r of i.e|
|00005e10| 6c 73 65 20 72 65 74 75 | 72 6e 20 69 0d 65 6e 64 |lse retu|rn i.end|
|00005e20| 20 72 65 70 65 61 74 0d | 65 6e 64 20 74 72 69 6d | repeat.|end trim|
|00005e30| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 67 58 20 78 4f |..functi|on gX xO|
|00005e40| 66 66 0d 72 65 74 75 72 | 6e 20 74 72 75 6e 63 28 |ff.retur|n trunc(|
|00005e50| 69 74 65 6d 20 33 20 6f | 66 20 74 68 65 20 73 63 |item 3 o|f the sc|
|00005e60| 72 65 65 6e 52 65 63 74 | 2f 32 20 2d 20 69 74 65 |reenRect|/2 - ite|
|00005e70| 6d 20 31 20 6f 66 20 74 | 68 65 20 6c 6f 63 20 6f |m 1 of t|he loc o|
|00005e80| 66 20 63 64 20 77 69 6e | 64 6f 77 29 20 2d 20 78 |f cd win|dow) - x|
|00005e90| 4f 66 66 0d 65 6e 64 20 | 67 58 0d 0d 66 75 6e 63 |Off.end |gX..func|
|00005ea0| 74 69 6f 6e 20 67 59 20 | 79 4f 66 66 0d 72 65 74 |tion gY |yOff.ret|
|00005eb0| 75 72 6e 20 74 72 75 6e | 63 28 69 74 65 6d 20 34 |urn trun|c(item 4|
|00005ec0| 20 6f 66 20 74 68 65 20 | 73 63 72 65 65 6e 52 65 | of the |screenRe|
|00005ed0| 63 74 2f 32 20 2d 20 69 | 74 65 6d 20 32 20 6f 66 |ct/2 - i|tem 2 of|
|00005ee0| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 63 64 20 77 | the loc| of cd w|
|00005ef0| 69 6e 64 6f 77 29 20 2d | 20 79 4f 66 66 0d 65 6e |indow) -| yOff.en|
|00005f00| 64 20 67 59 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 69 |d gY..fu|nction i|
|00005f10| 6e 45 64 69 74 6f 72 0d | 72 65 74 75 72 6e 20 28 |nEditor.|return (|
|00005f20| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of |
|00005f30| 74 68 69 73 20 62 67 20 | 3d 20 35 35 33 39 29 0d |this bg |= 5539).|
|00005f40| 65 6e 64 20 69 6e 45 64 | 69 74 6f 72 0d 0d 66 75 |end inEd|itor..fu|
|00005f50| 6e 63 74 69 6f 6e 20 65 | 6e 74 32 48 54 4d 4c 20 |nction e|nt2HTML |
|00005f60| 65 20 2d 2d 20 72 65 74 | 75 72 6e 73 20 48 54 4d |e -- ret|urns HTM|
|00005f70| 4c 20 63 6f 64 65 20 67 | 69 76 65 6e 20 63 68 61 |L code g|iven cha|
|00005f80| 72 20 65 6e 74 69 74 79 | 20 3e 20 31 32 37 0d 67 |r entity| > 127.g|
|00005f90| 6c 6f 62 61 6c 20 48 54 | 4d 4c 45 6e 74 69 74 79 |lobal HT|MLEntity|
|00005fa0| 4d 61 70 0d 69 66 20 48 | 54 4d 4c 45 6e 74 69 74 |Map.if H|TMLEntit|
|00005fb0| 79 4d 61 70 20 3d 20 22 | 22 20 74 68 65 6e 20 73 |yMap = "|" then s|
|00005fc0| 65 6e 64 20 73 65 74 45 | 6e 74 69 74 69 65 73 20 |end setE|ntities |
|00005fd0| 74 6f 20 63 64 20 69 64 | 20 32 32 39 32 0d 67 65 |to cd id| 2292.ge|
|00005fe0| 74 20 63 68 61 72 54 6f | 4e 75 6d 28 65 29 0d 69 |t charTo|Num(e).i|
|00005ff0| 66 20 69 74 20 b3 20 31 | 32 38 20 61 6e 64 20 69 |f it . 1|28 and i|
|00006000| 74 20 b2 20 32 34 34 20 | 74 68 65 6e 0d 67 65 74 |t . 244 |then.get|
|00006010| 20 69 74 65 6d 20 28 69 | 74 20 2d 20 31 32 37 29 | item (i|t - 127)|
|00006020| 20 6f 66 20 48 54 4d 4c | 45 6e 74 69 74 79 4d 61 | of HTML|EntityMa|
|00006030| 70 0d 69 66 20 69 74 20 | 3d 20 22 22 20 74 68 65 |p.if it |= "" the|
|00006040| 6e 20 72 65 74 75 72 6e | 20 65 0d 65 6c 73 65 20 |n return| e.else |
|00006050| 72 65 74 75 72 6e 20 22 | 26 22 26 69 74 26 22 3b |return "|&"&it&";|
|00006060| 22 0d 65 6c 73 65 20 72 | 65 74 75 72 6e 20 65 0d |".else r|eturn e.|
|00006070| 65 6e 64 20 65 6e 74 32 | 48 54 4d 4c 0d 0d 66 75 |end ent2|HTML..fu|
|00006080| 6e 63 74 69 6f 6e 20 65 | 6d 70 74 79 53 65 6c 65 |nction e|mptySele|
|00006090| 63 74 69 6f 6e 0d 69 66 | 20 74 68 65 20 73 65 6c |ction.if| the sel|
|000060a0| 65 63 74 69 6f 6e 20 3d | 20 22 22 20 74 68 65 6e |ection =| "" then|
|000060b0| 0d 61 6e 73 77 65 72 20 | 22 59 6f 75 20 6d 75 73 |.answer |"You mus|
|000060c0| 74 20 73 65 6c 65 63 74 | 20 73 6f 6d 65 20 74 65 |t select| some te|
|000060d0| 78 74 20 66 6f 72 20 74 | 68 69 73 20 66 75 6e 63 |xt for t|his func|
|000060e0| 74 69 6f 6e 20 74 6f 20 | 77 6f 72 6b 2e 22 20 77 |tion to |work." w|
|000060f0| 69 74 68 20 22 43 61 6e | 63 65 6c 22 0d 72 65 74 |ith "Can|cel".ret|
|00006100| 75 72 6e 20 54 52 55 45 | 0d 65 6c 73 65 20 72 65 |urn TRUE|.else re|
|00006110| 74 75 72 6e 20 46 41 4c | 53 45 0d 65 6e 64 20 65 |turn FAL|SE.end e|
|00006120| 6d 70 74 79 53 65 6c 65 | 63 74 69 6f 6e 0d 0d 66 |mptySele|ction..f|
|00006130| 75 6e 63 74 69 6f 6e 20 | 73 74 61 63 6b 4e 61 6d |unction |stackNam|
|00006140| 65 20 70 61 74 68 0d 67 | 65 74 20 6c 65 6e 67 74 |e path.g|et lengt|
|00006150| 68 28 70 61 74 68 29 0d | 72 65 70 65 61 74 20 77 |h(path).|repeat w|
|00006160| 69 74 68 20 69 20 3d 20 | 69 74 20 64 6f 77 6e 20 |ith i = |it down |
|00006170| 74 6f 20 31 0d 69 66 20 | 63 68 61 72 20 69 20 6f |to 1.if |char i o|
|00006180| 66 20 70 61 74 68 20 3d | 20 22 3a 22 20 74 68 65 |f path =| ":" the|
|00006190| 6e 20 72 65 74 75 72 6e | 20 63 68 61 72 20 28 69 |n return| char (i|
|000061a0| 2b 31 29 20 74 6f 20 69 | 74 20 6f 66 20 70 61 74 |+1) to i|t of pat|
|000061b0| 68 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 72 65 74 |h.end re|peat.ret|
|000061c0| 75 72 6e 20 70 61 74 68 | 0d 65 6e 64 20 73 74 61 |urn path|.end sta|
|000061d0| 63 6b 4e 61 6d 65 0d 0d | 66 75 6e 63 74 69 6f 6e |ckName..|function|
|000061e0| 20 74 68 65 50 61 74 68 | 20 70 61 74 68 0d 72 65 | thePath| path.re|
|000061f0| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 6c 65 |peat wit|h i = le|
|00006200| 6e 67 74 68 28 70 61 74 | 68 29 20 64 6f 77 6e 20 |ngth(pat|h) down |
|00006210| 74 6f 20 31 0d 69 66 20 | 63 68 61 72 20 69 20 6f |to 1.if |char i o|
|00006220| 66 20 70 61 74 68 20 3d | 20 22 3a 22 20 74 68 65 |f path =| ":" the|
|00006230| 6e 0d 67 65 74 20 69 0d | 65 78 69 74 20 72 65 70 |n.get i.|exit rep|
|00006240| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |eat.end |if.end r|
|00006250| 65 70 65 61 74 0d 72 65 | 74 75 72 6e 20 63 68 61 |epeat.re|turn cha|
|00006260| 72 20 38 20 74 6f 20 69 | 20 6f 66 20 70 61 74 68 |r 8 to i| of path|
|00006270| 0d 65 6e 64 20 74 68 65 | 50 61 74 68 0d 0d 66 75 |.end the|Path..fu|
|00006280| 6e 63 74 69 6f 6e 20 76 | 69 7a 20 77 69 6e 64 6f |nction v|iz windo|
|00006290| 77 4e 61 6d 65 0d 69 66 | 20 74 68 65 72 65 20 69 |wName.if| there i|
|000062a0| 73 20 61 20 77 69 6e 64 | 6f 77 20 77 69 6e 64 6f |s a wind|ow windo|
|000062b0| 77 4e 61 6d 65 20 74 68 | 65 6e 0d 72 65 74 75 72 |wName th|en.retur|
|000062c0| 6e 20 28 74 68 65 20 76 | 69 73 69 62 6c 65 20 6f |n (the v|isible o|
|000062d0| 66 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 6f 77 4e |f window| windowN|
|000062e0| 61 6d 65 29 0d 65 6c 73 | 65 20 72 65 74 75 72 6e |ame).els|e return|
|000062f0| 20 46 41 4c 53 45 0d 65 | 6e 64 20 76 69 7a 0d 0d | FALSE.e|nd viz..|
|00006300| 6f 6e 20 62 69 6e 6b 20 | 69 0d 69 66 20 74 68 65 |on bink |i.if the|
|00006310| 20 70 61 72 61 6d 43 6f | 75 6e 74 20 3d 20 31 20 | paramCo|unt = 1 |
|00006320| 74 68 65 6e 20 70 6c 61 | 79 20 22 62 69 6e 6b 22 |then pla|y "bink"|
|00006330| 20 69 0d 65 6c 73 65 20 | 70 6c 61 79 20 22 62 69 | i.else |play "bi|
|00006340| 6e 6b 22 20 67 33 73 0d | 65 6e 64 20 62 69 6e 6b |nk" g3s.|end bink|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.